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

Programmer Humor

22166 readers
2585 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.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 77 points 2 weeks ago (7 children)

I genuinely do a lot of coding in Kate, the standard KDE editor. It's enough to do a lot of things, has highlighting, and is more than enough when you just need a quick fix.

I am also still using nano when editing stuff in the terminal. Please, don't judge me.

[–] [email protected] 45 points 2 weeks ago (1 children)

To be fair, Kate isn't just a text editor, it actually is an IDE. The text editor version would be kwrite, which would be horrible to program in.

[–] [email protected] 19 points 2 weeks ago (1 children)

Wow, you're right of course. I completely forgot kwrite still existed, tbh.

[–] [email protected] 18 points 2 weeks ago (1 children)

Kwrite doesnt really exist on its own anymore. Its a slimmed down gui for kate now.

[–] [email protected] 6 points 2 weeks ago (1 children)

Oh wow you're right, it's basically just kate without some of the toolbars now. Hadn't used plain kwrite in a while.

load more comments (1 replies)
[–] [email protected] 18 points 2 weeks ago

We're almost like coding siblings lol

[–] [email protected] 12 points 2 weeks ago

Yep, I came here to say that Kate is really nice. Even though I'm an emacs user and won't use it.

Nano, on the other hand, can't do almost anything, so I can't recommend that people make heavy use of it. It's ok for random small edits, but that's it. (By the way, YSK that you can set your terminal to use Kate as the default editor by setting the $EDITOR variable.)

[–] [email protected] 9 points 2 weeks ago (3 children)

KWrite is the standard text editor. Kate is the advanced one. The name actually literally stands for "KDE Advanced Text Editor"

load more comments (3 replies)
load more comments (3 replies)
[–] [email protected] 49 points 2 weeks ago (4 children)

"Me who codes with the text editor that came with Ubuntu"...

So VIM?

[–] [email protected] 25 points 2 weeks ago (1 children)
load more comments (1 replies)
[–] [email protected] 18 points 2 weeks ago (1 children)

Doesn't it ship with nano these days?

load more comments (1 replies)
load more comments (2 replies)
[–] [email protected] 31 points 2 weeks 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

[–] [email protected] 12 points 2 weeks ago* (last edited 2 weeks ago)

All you need is a magnetised needle and a steady hand. Or butterflies.

load more comments (1 replies)
[–] [email protected] 25 points 2 weeks ago (2 children)
[–] [email protected] 7 points 2 weeks ago

Nano is love.

[–] [email protected] 7 points 2 weeks ago (2 children)

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

load more comments (2 replies)
[–] [email protected] 21 points 2 weeks ago* (last edited 2 weeks ago) (17 children)

Vim and emacs are text editors.

Vs code is a code editor (but really it's also just a text editor)

Maybe they mean IDEs like visual studio?

I've never really heard it called a coding GUI before.

[–] [email protected] 9 points 2 weeks ago (1 children)

I see you've never used emacs.

[–] [email protected] 9 points 2 weeks ago (1 children)

"it's a bit limited for an operating system"

load more comments (1 replies)
load more comments (16 replies)
[–] [email protected] 21 points 2 weeks ago (1 children)

I code using grep's search and replace.

[–] [email protected] 6 points 2 weeks ago (1 children)

I code using a telegraph machine in morse code.

[–] [email protected] 7 points 2 weeks ago

I code using punch cards hand cutting each hole with a xacto knife

[–] [email protected] 20 points 2 weeks ago (3 children)
[–] [email protected] 7 points 2 weeks ago

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)
[–] [email protected] 13 points 2 weeks ago

And then there is a colleague who programs in Notepad++ directly on the test server and then just copies his code to prod.

(yes, he works alone on that project)

[–] [email protected] 13 points 2 weeks ago (3 children)

text editor application that came with Ubuntu

nano

shivers

[–] [email protected] 12 points 2 weeks 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!

load more comments (10 replies)
load more comments (2 replies)
[–] [email protected] 13 points 2 weeks ago (1 children)

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

[–] [email protected] 6 points 2 weeks ago (1 children)

What about the libre office version?

[–] [email protected] 12 points 2 weeks ago (1 children)

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

[–] [email protected] 8 points 2 weeks ago

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

[–] [email protected] 13 points 2 weeks ago

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

[–] [email protected] 11 points 2 weeks 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.

[–] [email protected] 10 points 2 weeks 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)
[–] [email protected] 10 points 2 weeks 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)
[–] [email protected] 10 points 2 weeks ago (11 children)
load more comments (11 replies)
[–] [email protected] 9 points 2 weeks ago (1 children)

Sublime! There are DOZENS of us! Dozens!

load more comments (1 replies)
[–] [email protected] 9 points 2 weeks ago (4 children)

I do it in nano over ssh. The shortcuts suck but it gets the job done.

load more comments (4 replies)
[–] [email protected] 9 points 2 weeks ago

I coded several of my early mobile app releases entirely in gedit. Good times.

I sometimes forget how good we have it now. I wrote those apps around 2012 and the DX for the platforms was basically non-existent. Virtually every platform had shit documentation, shit version management, a shit IDE with minimal refactoring features, a shitty debugging experience, and everything felt like it was being botched together by 3 guys in their spare time.

It's incredible now that we have things like hot reloading. You can literally save a change and BAM it's on the screen seconds later. On native platforms no less. Astounding.

[–] [email protected] 8 points 2 weeks ago

helix ftw 🧬

[–] [email protected] 8 points 2 weeks 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)
[–] [email protected] 7 points 2 weeks ago (1 children)
[–] [email protected] 13 points 2 weeks ago (1 children)
load more comments (1 replies)
[–] [email protected] 7 points 2 weeks ago

Learned C++ by using gedit on the Sun machines in my college's computer lab in 2007. They were decommissioned shortly after I graduated.

[–] [email protected] 7 points 2 weeks ago

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

[–] [email protected] 7 points 2 weeks ago

doesn't vim come with the Ubuntu installation?

[–] [email protected] 7 points 2 weeks ago* (last edited 2 weeks ago)

At one of my jobs around 2010 there was a dev in the office who wrote all his code in Notepad. When I joined the staff they were still using Classic ASP. My job was to help them (finally) migrate to ASP.Net. He intended to develop .Net apps in Notepad rather than learn how to use VS. I got laid off due to cutbacks and never found out what kind of luck he had wit dat.

load more comments
view more: next ›