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
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.
Still, a template can be immensely useful
i edit all my html in an actual physical notebook like a civilised person
wish i could find my old notepads full of BASIC and HTML lol
as a matter of fact many of my batch and basic thingies were made on the margins of my history notebooks
I use helix btw
a fellow man of ~~culture~~ "why even bother with that theyre just text editors" i see
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.
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.
A lot of the Emacs language modes have been replaced with tree-sitter equivalents now.
Same with neovim
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.
ed master race
ed is the standard editor
Viitor and emacsitor aren't even words
I use emacs with evil, best of both worlds
Doom Emacs gang😎
Ed Is The Standard Text Editor
ik
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
Finally someone mentions edlin! Real programmers don’t need to see more than a single line at a time.
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 🙂
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...
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.
I use KDE Kate for my coding. Scripting more accurately to some users, but I don't find a meaningful distinction.
Micro ftw!
(I also use Geany, Featherpad, Vim, ee(1), and JOE)
Helix!