Example of optimocracy
Programmer Humor
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
That’s because Ubuntu, honestly.
I'm in the "been working with Linux since the 90s" gang so I call vim vi and nano pico and when I started there was a coolness factor to be considered. I was incredibly uncool so I used whatever I wanted, including pico - I mean you used pine for email back in the day and the interface was nearly identical, so whatever.
But I did want to be at least a tiny bit cooler, so I learned vi in a fairly rudimentary fashion. I can edit, jump, delete, search, replace, copy and paste - oh, and I can exit. I've spent so much time using vi, that my brain doesn't even have to think about exiting, not even whether I want to write or not. It just happens like second nature. It's actually gotten to where nano seems unduly burdensome to me.
But really, I prefer an IDE for programming. CLI editors will always be for configuration files and shell scripts to me.
Nano is to EMacs/Vim as Notepad is to Notepad++ or VSCode (Nano has features Notepad doesn't, but you get the point).
I don't do a ton of code editing directly on the CLI. I do things like change parameters in config files or open a file to read it quickly. If I'm doing more heavy editing, I'll use a GUI editor (with an SFTP extension if I'm working on a headless server). So programs like Vim and EMacs have never been useful for me.
To each their own (and I have all the respect for anyone who knows how to exit Vim without looking it up) but I'm guessing the majority of people have a similar experience.
I spent enough time learning vim that I can do basic navigation and text editing. I'd like to be able to navigate efficiently like some of the savants out there, but the effort to get to that point is more than I'm willing to put into in.
Being good at nano does not transfer like notepad transfers to notepad++ or kwrite.
vim does not respect nano shortcuts and modes are simply a barrier: an extra keypress and another thing to keep track of. It slows you down significantly.
Noone good at nano would switch to vim naturally, you have to force yourself to endure until you catch back up to what you could long do in nano.
Conversely I don't know a single shortcut, behavior, or info notepad shows that np++ or kwrite don't have. Besides maybe bracket and quote completion in kwrite which you'd have to disable in settings.
And on the other hand the advantages are more directly visible, like tabs, syntax hilighting, ...
You might not immediately intuit the shortcuts for tab management, but you can still use tabs and then not return to notepad due to missing them.
Same reason people use notepad on windows. It's already installed on almost every distro
Best local simple terminal text editor is micro.
It is insane how far using the same shortcuts literally everything else can get you in the world of terminal text editors and yet here we are
I've wanted to move elsewhere for a long time, thing is I don't use nano for programming, I use it for config files. For programming I use an IDE, and every time I've tried leaving my IDE for emacs with a language server I find I just can't be bothered to set it up and learn it and make the move. Maybe because while I have some gripes with my current setup...they're very minor
I'm part of the "learned Linux when I got my first raspberry pi" gang, and all Ras pi tutorials tell you to use nano. So yes.
Big fan of micro. Like nano, it's non-modal, but unlike nano, it doesn't need to print its shortcuts on the bottom because everyone already knows most of the shortcuts from almost every GUI editor. And it has inbuilt syntax highlighting and LSP support (TBH it's a bit much at times, the UI is a bit too intrusive to (by default) complain every time you violate some style guideline).
Though that's moot if you don't have admin privileges on the box you're working on.
I think Vim is great if you use it everyday and know it inside out. For those of us who don't, Nano is just easier, not least because it tells you in the UI how to exit it xD
Not long ago, I needed to quickly add a 4-line thing to my Ruby on Rails app on my Raspberry Pi. I was like, shit, I really can't be arsed to mount the RPi over Samba to edit this stuff on VSCode on my Windows laptop to add like 4 lines. I don't have vim, I can't be arsed to check which vimlike I have at hand, I can't be arsed to see if my Emacs setup has been customised for this RPi. So fuck it, Nano it is!
I use helix for all my developer work and nano for "I need to edit this config file buried somewhere in /usr/..."
I have been around since production servers were predominantly HP-UX, Solaris, and AIX. I settled on Vi because it was the one common editor that was preinstalled on every *NIX OS, including Linux and you could jump right into edit mode while reading a file without having to exit the preview first.
Nano is fine, but one you've gone through the pain of committing Vi to muscle memory, there's no point to switch.
I only ever use to quickly edit some config file and for that i really don't need anything more complex.