this post was submitted on 18 Jul 2023
73 points (78.3% liked)

Programmer Humor

32415 readers
836 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

I use vim btw

all 43 comments
sorted by: hot top controversial new old
[–] bh11235@infosec.pub 23 points 1 year ago (1 children)

To me vim's main strengths are

  • It delivers the same OK-ish experience no matter what file type or language I'm dealing with. Yeah it'll never be as good as a dedicated Python IDE for writing Python, but I'd rather know vim than 5 different IDEs for Python, YAML, Dockerfiles, Rust, Latex, whatever I need to deal with today.
  • It just edits files and doesn't hide internal state, intermediate files, etc to make my life 'simpler' (notepad is the same, so I guess this is more of a strength vs IDEs). When an IDE fails to align all of its internal moving parts just right to compile a project I know I'm in for an hour of figuring out which checkbox needs to be unticked in what sub-sub-sub-sub-submenu, I like it much better to have a "flat" experience of invoking a command line and getting an error message directly from the tool I am invoking.
  • 20dd to delete 20 lines, that's very neat.
[–] tool@r.rosettast0ned.com 6 points 1 year ago

Quick editing for me is in vim. Anything else is in Visual Studio Code. Which I have set up with vim keybindings.

[–] drew_belloc@programming.dev 18 points 1 year ago

Like a enthusiast once said "People don't quit emacs, they just die at some point".

[–] taanegl@lemmy.ml 16 points 1 year ago

Nano gang, represent.

[–] bjoern_tantau@swg-empire.de 15 points 1 year ago

Why would I use Notepad? I'd have to install it first. Does it even have a Linux version or would I have to use Wine? This meme is giving me headaches.

[–] NettoHikari@social.fossware.space 12 points 1 year ago* (last edited 1 year ago) (1 children)

*opens up customized nano*

[–] Dohnakun@lemmy.fmhy.ml 4 points 1 year ago (1 children)

I just read a micro vs. nano. But each point in favor of micro was "i have that already in nano". Syntax highlighting, status bar with col/line, undo/redo, even mouse support.

[–] NettoHikari@social.fossware.space 3 points 1 year ago (3 children)

I like both. But many people don't even realize that nano has quite a lot of configuration options. To me, they're text editors, not code editors. For code, I use VSCode (or "code", the FOSS variant).

[–] PlexSheep@feddit.de 3 points 1 year ago (1 children)

I have never heard of customisation for nano. That said, I'm quite pleased with programming my vim how I like it.

[–] Dohnakun@lemmy.fmhy.ml 2 points 1 year ago* (last edited 1 year ago)

Yes, but for a quick edit or glance, nano-syntax-highlight and lesspipe with highlight or bat are nice.

[–] dream_weasel@sh.itjust.works 2 points 1 year ago

Treesitter and native LSP levels the playing field pretty handily IMO.

[–] ScrimbloBimblo@lemmy.dbzer0.com 11 points 1 year ago (1 children)

Who in the actual fuck uses notepad?

[–] Gork@lemmy.ml 5 points 1 year ago

You would think that Microsoft would have implemented better functionally by now. Yeah they had WordPad but that sucked too.

Like, c'mon, allow me to alt-highlight blocks of text already.

[–] Arotrios@kbin.social 11 points 1 year ago (2 children)
[–] waspentalive@lemmy.one 4 points 1 year ago (1 children)
[–] AnActualFossil@kbin.social 7 points 1 year ago* (last edited 1 year ago) (1 children)

That's just the sign of a deeper illness. Soon you'll be installing a disk defragger.

[–] dudinax@programming.dev 1 points 1 year ago

Notepad++ is the only thing I miss from Windows.

[–] dream_weasel@sh.itjust.works 7 points 1 year ago* (last edited 1 year ago)

Seems like the right side should be classic terminal tools like ed. Or any other cat/echo/etc where you change the contents of the file without opening it (or all of it) directly.

[–] alcasa@lemmy.sdf.org 6 points 1 year ago (3 children)

Every editor has its place but this meme would make more sense with any IDE (vscode, eclipse, intellij) than notepad

[–] dog@suppo.fi 4 points 1 year ago

Nah, IDE's go in the top bar, big brain is still notepad and alikes.

[–] priapus@sh.itjust.works 1 points 1 year ago (1 children)

Most people use IDE's, having them where notepad is would not make sense on a bell curve.

[–] hedgehog@ttrpg.network 2 points 1 year ago (1 children)

Along that line of thought, you could do

  • “text editor” (meaning Notepad, Nano, etc) on the left,
  • IDE in the center,
  • and “text editor” (meaning Vim, Emacs, VSCode, Sublime, etc.) on the right
[–] priapus@sh.itjust.works 2 points 1 year ago

That's exactly how I would've made it

[–] simple@lemmy.mywire.xyz 0 points 1 year ago (1 children)

Agreed.

I once worked on a team in a company who had to ssh into a server and do all the development work on that server. So all we could use was either vim or emacs. I had my vim decked out with all the plugins and customizations, and it was fine.

But after you get back to using an IDE (especially an IDE with a vim plugin), it's hard to go back

[–] priapus@sh.itjust.works 1 points 1 year ago

In my experience, once you've used any text editor with an LSP implementation it's hard to go back to an IDE

[–] Bankenstein@feddit.de 6 points 1 year ago

can we please forget about this meme template?

[–] savoy@lemmygrad.ml 4 points 1 year ago
[–] Dohnakun@lemmy.fmhy.ml 1 points 1 year ago (2 children)

What are the x and y axis?

[–] madeindjs@lemmy.ml 2 points 1 year ago (1 children)

IQ on X, percentage of the population on Y

[–] Dohnakun@lemmy.fmhy.ml 1 points 1 year ago

Huh, it's wrong then.