118

Probably not a good title to seek upvotes. If it does get upvotes, more programmers get share in your pain 😅

top 50 comments
sorted by: hot top controversial new old
[-] maxmalrichtig@discuss.tchncs.de 13 points 5 hours ago

I mean, the headline of this post already makes me irrationally angry. 😂

Y u no close brackets!?

[-] Simulation6@sopuli.xyz 7 points 6 hours ago

Micromanagement to speed up product release date. Daily meeting and status reports, work breakout categories such as ‘code design’, ‘code development’, ‘code documentation’, etc,etc (flash back gif of Apache helicopters flying over a jungle

[-] F04118F@feddit.nl 7 points 6 hours ago* (last edited 6 hours ago)
[-] BeardedGingerWonder@feddit.uk 4 points 6 hours ago

Make them do project management.

[-] lvxferre@mander.xyz 11 points 9 hours ago

Correctly highlight when a programmer is being assumptive as a brick, even when assumptions are one of the biggest sins in programming. Done, you've triggered a lot of programmers.

[-] zea_64@lemmy.blahaj.zone 102 points 15 hours ago

I thought the joke here was that your unbalanced parentheses would make me angry (they did))

[-] johntash@eviltoast.org 27 points 14 hours ago

... is that not the point of the title?

[-] sleep_deprived@lemmy.dbzer0.com 66 points 15 hours ago

I have this great idea for an app, we can go 70/30 on it! 70 for me because the idea is the hardest part after all. So basically it's Twitter plus Facebook plus Tinder with a built in MMO. You can get that done in a couple weeks, should be pretty easy right?

[-] troyunrau@lemmy.ca 32 points 14 hours ago

Insist they index from 1. Like God and Fortran intended it. ;)

[-] Jestzer@lemmy.world 3 points 8 hours ago
[-] troyunrau@lemmy.ca 3 points 5 hours ago

MATLAB is basically a UI wrapper around Fortran's BLAS and LAPACK -- change my mind. ;)

[-] deadbeef79000@lemmy.nz 5 points 11 hours ago

Fuck C and it's lazy shit pointer arithmetic array indexing shortcut. I.e. you just add the index × size(t) to the array pointer.

Bounds checking? We've heard of it.

[-] Naich@lemmings.world 4 points 11 hours ago
[-] deadbeef79000@lemmy.nz 12 points 11 hours ago

Like riding a motorcycle in a tee shirt and shorts.

[-] letsgo@lemm.ee 3 points 6 hours ago

I've ridden a motorbike in a T-shirt and kilt before. That's ... fun ...

[-] BigDanishGuy@sh.itjust.works 7 points 9 hours ago* (last edited 9 hours ago)

And sun glasses, don't forget the aviators.

While Mr "I can't code without a garbage collector" is still putting on his backplate of "oh no pointers are bad" and a duck typed full face helmet, to ride his interpreted moped, the big boys, Mr C-ool and Mr ASSembly, are already downing grain alcohol at the finish line.

But then again I really don't like to step out of my embedded RTOS bubble. It really depends on what you want to accomplish and how complicated your system is.

[-] deadbeef79000@lemmy.nz 1 points 11 minutes ago

embedded RTOS

That sounds like a domain where memory safety is secondary to size and speed... though compile time memory safety guarantees could help.

Good thing we have so many options!

[-] xmunk@sh.itjust.works 45 points 15 hours ago

Figure out if they prefer spaces or tabs, insist on the other.

Please note this won't work on Pythonistas as they've already had their spirit thoroughly broken.

[-] BeardedGingerWonder@feddit.uk 5 points 6 hours ago

I feel like this is a debate that doesn't exist - 4 spaces bound to tab is the only actual answer.

[-] brian@programming.dev 4 points 5 hours ago

most things seem to have settled on this, but tabs are so much better for accessibility. programmers with bad vision can have trouble differentiating smaller indentation levels, while some of them just bump the font size up so high that 4 spaces takes up too much screen space. each one can set a tab width that is comfortable for them. https://alexandersandberg.com/articles/default-to-tabs-instead-of-spaces-for-an-accessible-first-environment/ has some good arguments

with a forced formatter and a configured editor there really isn't any argument for spaces

[-] ThePunnyMan@lemm.ee 4 points 6 hours ago

For python, see which one they use and secretly replace a single indentation with the other.

[-] Reptorian@programming.dev 11 points 14 hours ago

What if you use tabs for indentations and space for alignment?

[-] xmunk@sh.itjust.works 8 points 14 hours ago

It's alright... but have you considered spaces for indentation and tabs for alignment?

load more comments (1 replies)
[-] MajorHavoc@programming.dev 16 points 15 hours ago

A haiku for you:

Tabs or four spaces

Never a semicolon

Broken in spirit

[-] towerful@programming.dev 56 points 17 hours ago
[-] darvit@lemmy.darvit.nl 7 points 7 hours ago

Actually it's [object Object]

[-] towerful@programming.dev 3 points 4 hours ago

Ah, piss. So it is.
I'm going to blame it on autocorrect, even though we both know I just got it wrong

[-] Xanza@lemm.ee 26 points 17 hours ago
[-] Molten_Moron@lemmings.world 41 points 16 hours ago

Html is a programming language.

load more comments (3 replies)
[-] itsathursday@lemmy.world 43 points 17 hours ago

You guys are too slow, we need to hire more of you and let the sales teams use AI to add features the client asks without waiting for you.

AI can code now, in 2 mins I can create an app, so it shouldn’t take you long to make changes to this 10year old product.

[-] Darohan@lemmy.zip 36 points 17 hours ago

Replace a semicolon (;) with a Greek Question mark (;), provided they're working in a language that uses semicolons at the end of every line, and their IDE doesn't highlight the difference (which some do now)

[-] stetech@lemmy.world 2 points 1 hour ago

Replace all spaces with the unicode non-breaking space that looks the same.

Although I know at least some language servers will detect this and mark it as an error, lol.

[-] sleep_deprived@lemmy.dbzer0.com 20 points 10 hours ago

Fun fact, Rust has a special error message for this:

Unicode character ';' (Greek Question Mark) looks like a semicolon, but it is not.

It also detects other potentially confusing Unicode characters, like the division slash which looks like /.

[-] hooferboof@lemmy.world 23 points 17 hours ago

#define if while #define true false

[-] letsgo@lemm.ee 5 points 6 hours ago

You'd like the IOCCC.

[-] Hammerheart@programming.dev 17 points 17 hours ago

short variable names, and the only vowel is 'i'

[-] tiredofsametab@fedia.io 8 points 11 hours ago

I inherited an old Japanese codebase. Tons of stuff was just single-letter variables. Apparently, this used to be at least somewhat common here. I spent a lot of time just updating code to replace vars with something meaningful (and found bonus bugs due to improper scoping with same var names as a bonus). Didn't have an IDE that would easily do it for me at the time and running something like sed felt too risky.

[-] gravitas_deficiency@sh.itjust.works 11 points 14 hours ago
skibidi = 42
[-] Solemarc@lemmy.world 18 points 18 hours ago

"we're just trying to display why is this so hard? It's a ten minute job!"

load more comments (1 replies)
load more comments
view more: next ›
this post was submitted on 01 Mar 2025
118 points (91.0% liked)

Programmer Humor

20854 readers
1405 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