this post was submitted on 17 Mar 2025
532 points (95.4% liked)

Programmer Humor

21658 readers
1199 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
 

I regret nothing. Say what you want.

Edit: I just saw the two typos. If you find them, you're welcome to keep them.

(page 2) 50 comments
sorted by: hot top controversial new old
[–] NigelFrobisher@aussie.zone 11 points 1 day ago

At uni I did a lot of my Java coursework in notepad, then I’d have to take it into a computer lab on a floppy, tar it and upload it to a unix terminal so it could be emailed to the professor. Java syntax with only the command line compiler is not fun.

[–] sockpuppetsociety@lemm.ee 12 points 1 day ago (1 children)

As long as you don't use Microsoft Word we can be friends

[–] Droggelbecher@lemmy.world 5 points 1 day ago (1 children)

What about the libre office version?

[–] CanadaPlus@lemmy.sdf.org 11 points 1 day ago (1 children)

Bonus points if you're saving it as an .odt and still producing a validly executable file of some kind

[–] sockpuppetsociety@lemm.ee 7 points 1 day ago

You're weird, but we can be friends if you want.

[–] TinyRhino@lemm.ee 28 points 1 day ago (2 children)

If you're not writing it all down on paper and then punching holes in cards, you're doing it all wrong

load more comments (2 replies)
[–] joyjoy@lemm.ee 12 points 1 day ago (2 children)

text editor application that came with Ubuntu

nano

shivers

[–] Conclusionallusion@lemm.ee 11 points 1 day ago (10 children)

I'm probably in the minority but I think it's fantastic! No extra baggage, super quick to work with, and it does syntax highlighting pretty well!

[–] faintwhenfree@lemmus.org 5 points 1 day ago

Nah man, I'm with you, nano is no nonsense get shit done editor. It might not have advanced features but I'm not an advanced man.

[–] grysbok@lemmy.sdf.org 2 points 23 hours ago

I also love it. It was my go-to back when I had to walk inexperienced sysadmins through configuring stuff, in my tech support days. I really appreciate all the commands being listed at the bottom.

load more comments (8 replies)
[–] Revan343@lemmy.ca 6 points 1 day ago (1 children)
[–] zqwzzle@lemmy.ca 20 points 1 day ago (3 children)

This feels a little bit like Brainfuck tbh.

For what it’s worth, I can think of one thing that would make brainfuck even worse: Instead of using 8 arbitrary characters (it only uses > < + - . , ] and [ for every instruction) for the coding, use the 8 most common letters of the alphabet. Since it ignores all other characters, all of your comments would need to be done without those 8 letters.

For example, “Hello World” in brainfuck is the following:

++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.

If we instead transposed those 8 instructions onto the 8 most common letters of the alphabet, it would look more like this:

eeeeeeeeaneeeeaneeneeeneeenesssstonenentnneasostonnIntttIeeeeeeeIIeeeInnIstIsIeeeIttttttIttttttttInneIneeI
load more comments (2 replies)
[–] jordanlund@lemmy.world 23 points 1 day ago (2 children)
[–] Rogue@feddit.uk 6 points 1 day ago (2 children)

Nano is fine. But Micro is a worthwhile upgrade: https://micro-editor.github.io/

load more comments (2 replies)
[–] xmunk@sh.itjust.works 7 points 1 day ago

Nano is love.

[–] UltraMagnus0001@lemmy.world 6 points 1 day ago

That boy is gonna be a murderer

[–] Daniikk1012@lemmy.world 10 points 1 day ago (6 children)
[–] T156@lemmy.world 6 points 1 day ago (1 children)
[–] Earflap@reddthat.com 4 points 22 hours ago (1 children)

Ed is the most user unfriendly text editor ever created.

[–] T156@lemmy.world 2 points 21 hours ago (1 children)
[–] Earflap@reddthat.com 3 points 20 hours ago* (last edited 20 hours ago) (2 children)

It is a text editor from the 50s or 60s, so right off the nat you aren't getting a product you're at all familiar with. Its been a while since I cracked it open but from memory you can only view one line of code at a time. You have to specify the line of code that you want to view, the commands are esoteric, and there is no help available in the application itself. As I recall it was pretty much immediately replaced with better editors, such as og vi.

Its sort of like programming in sed. Sure, you can, but why?

From Wikipedia:

Known for its terseness, ed, compatible with teletype terminals like Teletype Model 33, gives almost no visual feedback, and has been called (by Peter H. Salus) "the most user-hostile editor ever created", even when compared to the contemporary (and notoriously complex) TECO. For example, the message that ed will produce in case of error, and when it wants to make sure the user wishes to quit without saving, is "?". It does not report the current filename or line number, or even display the results of a change to the text, unless requested. Older versions (c. 1981) did not even ask for confirmation when a quit command was issued without the user saving changes.

https://en.m.wikipedia.org/wiki/Ed_(software)

load more comments (2 replies)
load more comments (5 replies)
[–] hperrin@lemmy.ca 12 points 1 day ago

I write all my code on paper and use OCR to convert it. It almost works sometimes.

[–] Gsus4@mander.xyz 4 points 1 day ago* (last edited 1 day ago) (1 children)
[–] barsoap@lemm.ee 3 points 22 hours ago

Every self-respecting vi user should know enough ex to get by with ed.

[–] vfscanf@discuss.tchncs.de 10 points 1 day ago (1 children)

Gedit was my main text editor for years. I also used it for work. It has all the basic features that you need for coding. For everything else I use the terminal.

load more comments (1 replies)
[–] some_guy@lemmy.sdf.org 6 points 1 day ago

I like SublimeText for everything unless a quick edit at the CLI with Vim.

[–] Gloria@sh.itjust.works 8 points 1 day ago (1 children)

Sublime! There are DOZENS of us! Dozens!

load more comments (1 replies)
[–] Sir_Kevin@lemmy.dbzer0.com 4 points 1 day ago (1 children)

Notepad.exe has been my daily driver for anything that doesn't need a compiler for decades.

[–] marius@feddit.org 7 points 1 day ago (2 children)

You mean the one that didn't even do proper line endings until recently?

[–] Ephera@lemmy.ml 2 points 22 hours ago

And would save in non-UTF8 format by default. No idea, if they changed that by now.

load more comments (1 replies)
[–] blaue_Fledermaus@mstdn.io 8 points 1 day ago (1 children)

Code in MS Word because it handles tabs correctly, unlike all code editors.

Tab means "move to the next tabstop", not "advance a fixed amount".

(I don't do it, I'm not THAT insane)

load more comments (1 replies)
[–] Adalast@lemmy.world 9 points 1 day ago (2 children)

I used Notepad++ for virtually all coding I did (Python, JS, various Markup Languages, Action Script back in the day, etc) for a couple decades. The only reason I use VSCode now is because I inherited a nightmare of a legacy spaghetti bowl and needed the function tracing to attempt to figure out anything. I still prefer N++ for most small projects.

load more comments (2 replies)
load more comments
view more: ‹ prev next ›