Well, the new notepad in win11 is very nice. Obsidian has many amazing plugins make it super easy to use and you don't need to worry about unsaved files crashing and disappearing.
Notepad++ is standard for code editing and extremely fast. I use all these 3 alternatives for different reasons but my #1 is still notepad.