this post was submitted on 17 Apr 2025
145 points (91.4% liked)

Programmer Humor

22921 readers
185 users here now

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

founded 2 years ago
MODERATORS
 

crossposted from irc

top 50 comments
sorted by: hot top controversial new old
[–] AnAustralianPhotographer@lemmy.world 42 points 2 weeks ago (2 children)
[–] Doomsider@lemmy.world 5 points 2 weeks ago (4 children)

I learned on VIM, but when I found Nano there was no going back.

[–] ztwhixsemhwldvka@lemmy.world 12 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

That's like saying you ate sourdough but then discovered wonder bread

[–] Doomsider@lemmy.world 2 points 1 week ago

More like sourdough doesn't go good with everything. Different tastes for different things.

[–] caseyweederman 6 points 2 weeks ago

It's time for you to find Micro. The cycle continues.

[–] jdeath@lemm.ee 3 points 2 weeks ago (2 children)

wow, nano is usually everyone's first editor and them moving on to Vim. interesting to invert that. what do you like about nano?

[–] Doomsider@lemmy.world 4 points 2 weeks ago (1 children)

Ease of use. When it comes to coding I prefer a GUI as well.

I used Vim when I first installed Linux. It was painful but I used it. I found Nano and I stopped using Vim. No comparison in usability.

[–] jdeath@lemm.ee 3 points 1 week ago

yeah Vim takes a lot of effort to learn. Like any advanced tool. I will 100% always fire up nano when in a hurry. but i like trying to learn Vim as an exercise (in torture? idk haha)

[–] AnUnusualRelic@lemmy.world 2 points 1 week ago (1 children)

That depends a lot on when they started.

When I first installed a distribution where the base system only came with nano instead of standard editors, I was very confused (and very disappointed that this whas what they'd come up with as a "friendly" interface).

load more comments (1 replies)
load more comments (1 replies)
[–] vala@lemmy.world 2 points 2 weeks ago (3 children)

Does nano have LSP support?

[–] AnAustralianPhotographer@lemmy.world 2 points 2 weeks ago (1 children)

I dont know what that acronym means. I just use nano as a basic text editor, its automatically showing me different colours XML now. I have used it as a text editor for code before, but if i knew i was going to be coding lots, id look at others like vim and emacs. Me using it is a result of it being the quickest tool to get the job done at the time 'efficiently' and i know there are more powerful ones out there.

[–] Boomkop3@reddthat.com 4 points 2 weeks ago (1 children)

If I had to guess they're on about the "language server protocol"

[–] vala@lemmy.world 1 points 1 week ago
load more comments (1 replies)
[–] Phen@lemmy.eco.br 27 points 2 weeks ago (1 children)

Back in the early 2000s I met some guy who had once sold a copy of edit.exe to some store as if it were some software he had written for managing orders and inventory. The folks at the store used windows, but they would open up edit.exe and it looked just like the stuff that the larger store chains used to manage their own orders... The guy just made a sample file and instructed them how to input data in a specific format that made it all look like a table, but it was just a text file with no validation of any kind.

[–] tetris11@lemmy.ml 10 points 2 weeks ago

Still, a template can be immensely useful

[–] cupcakezealot@lemmy.blahaj.zone 23 points 2 weeks ago (1 children)

i edit all my html in an actual physical notebook like a civilised person

[–] jdeath@lemm.ee 7 points 2 weeks ago (1 children)

wish i could find my old notepads full of BASIC and HTML lol

[–] dosuser123456@lemmy.sdf.org 2 points 1 week ago

as a matter of fact many of my batch and basic thingies were made on the margins of my history notebooks

[–] victorz@lemmy.world 14 points 2 weeks ago (1 children)
[–] dosuser123456@lemmy.sdf.org 4 points 2 weeks ago (1 children)

a fellow man of ~~culture~~ "why even bother with that theyre just text editors" i see

[–] balsoft@lemmy.ml 7 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

Nah. I was so annoyed by how primitive editors are that I started writing my own one, that would allow me to seamlessly traverse the AST of the code, rather than being stuck on the low abstraction levels of characters, words and paragraphs. After a bunch of misery making tree-sitter work with Haskell, and using it for a while, I stumbled upon Helix. It is pretty much my idea but faster and working well.

[–] stsquad@lemmy.ml 2 points 2 weeks ago (2 children)

A lot of the Emacs language modes have been replaced with tree-sitter equivalents now.

[–] balsoft@lemmy.ml 2 points 2 weeks ago

That's not what I want though. I really enjoy jumping around the actual syntax tree of the code, e.g. "select the entire function body" or "select the next list element", stuff like this. It becomes the natural way of traversing the code after a short while. Also, Emacs is still single-threaded and thus quite laggy and slow at times; however I do like it a lot and have used it for a number of years (with evil-mode), before finally jumping to my own editor and then helix.

[–] wise_pancake 2 points 2 weeks ago

Same with neovim

[–] victorz@lemmy.world 2 points 2 weeks ago* (last edited 2 weeks ago)

Also the object-verb and selection-verb paradigm just makes so much more sense compared to vim's verb-object/-motion paradigm. Especially with the ability to have multiple cursors and selections. It's so powerful.

I started with Emacs for about a year or two, then vim for about 10+ years, then neovim, then VS Code with vim bindings for a few years, then Kakoune, which was very interesting, then VS Code with Kakoune bindings, then the switch to Helix was very natural. Never looked back after about 2 years with Helix.

It's basically everything I loved from VS Code but in the terminal. And all the keyboard goodness from vim and Kakoune, combined. It's great.

[–] acidowl@discuss.tchncs.de 9 points 2 weeks ago (1 children)
[–] wise_pancake 9 points 2 weeks ago (1 children)
[–] jxk@sh.itjust.works 5 points 2 weeks ago

Viitor and emacsitor aren't even words

[–] Thcdenton@lemmy.world 8 points 2 weeks ago (1 children)

Ed Is The Standard Text Editor

[–] gbuttersnaps@programming.dev 8 points 2 weeks ago (1 children)

I use emacs with evil, best of both worlds

[–] AutomaticUpdates@monero.town 4 points 2 weeks ago

Doom Emacs gang😎

[–] y0din@lemmy.world 6 points 2 weeks ago* (last edited 2 weeks ago) (4 children)

edlin was my favorite for a long time 🙂

Edlin is a line editor, and the only text editor provided with early versions of IBM PC DOS,[1] MS-DOS and OS/2.[2] Although superseded in MS-DOS 5.0 and later by the full-screen MS-DOS Editor, and by Notepad in Microsoft Windows, it continues to be included in the 32-bit versions of current Microsoft operating systems.

https://en.m.wikipedia.org/wiki/Edlin

edit: link and explanation of syntax used if anyone is interested. the w (write) and q (quit) commands made it somewhat similar to VI(M). https://www.computerhope.com/edlin.htm

[–] zerofk@lemm.ee 2 points 2 weeks ago (1 children)

Finally someone mentions edlin! Real programmers don’t need to see more than a single line at a time.

[–] y0din@lemmy.world 2 points 1 week ago* (last edited 1 week ago) (1 children)

that is absolutely true and also 640Kb RAM should be enough for everyone 😂

all the hours and countless reboots spent optimizing config.sys and autoexec.bat to achieve 50kb more of available memory... good memories 🙂

[–] dosuser123456@lemmy.sdf.org 2 points 1 week ago* (last edited 1 week ago)

i just moved my files off to an external drive whenever my hdd got full haha

i didnt really trust my coding skills enough to come close to config.sys...

load more comments (3 replies)
[–] Kojichan@lemmy.world 5 points 2 weeks ago

I remember using Notepad for a long time for coding in Windows. Then I was introduced to UltraEdit. It was cool, but expensive. Jumped onto NotePad++ and I've been enjoying it lots.

I do also use IDEs, usually Codium based.

[–] hellfire103 4 points 2 weeks ago* (last edited 2 weeks ago)

Micro ftw!

(I also use Geany, Featherpad, Vim, ee(1), and JOE)

[–] Droggelbecher@lemmy.world 4 points 2 weeks ago (2 children)
[–] FMT99@lemmy.world 9 points 2 weeks ago

cat <<EOF gang

load more comments (1 replies)
[–] lengau@midwest.social 3 points 1 week ago
[–] Reptorian@programming.dev 3 points 2 weeks ago

I use KDE Kate for my coding. Scripting more accurately to some users, but I don't find a meaningful distinction.

[–] DrunkAnRoot@sh.itjust.works 3 points 2 weeks ago (1 children)

NeoVim with NVchad stomps both

[–] PokerChips@programming.dev 1 points 2 weeks ago

Then add tmux with terminal or tiling trminal and i3 amd you have the ultimate spacecraft

[–] sunbeam60@lemmy.one 3 points 2 weeks ago (1 children)
[–] caseyweederman 2 points 2 weeks ago

I keep finding new features. Tabs. Hsplit. Plugins. Authentication prompt at save time if it detects that the user you ran it under doesn't have permission to write to that file.
And of course keybinds that make a dang lick of sense.

[–] itslilith@lemmy.blahaj.zone 3 points 1 week ago
load more comments