this post was submitted on 07 May 2025
152 points (94.2% liked)

Programmer Humor

35561 readers
187 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 19 hours ago

You always think you remember how to center a div until you try to do it again after a few years

[–] [email protected] 1 points 1 day ago

In the past I'd be forever stuck without Stackoverflow to help me.
I couldn't get out of vim without a miracle.
Pointers were so confusing, I'd go without them.

[–] [email protected] 14 points 1 day ago (1 children)

Meh, those are just the programmers that are remembered.

They did lots of dumb shit too. Mario 64 was a super-innovative game at the time with its free 3D platforming. There's also tons of weird code in there, and the developers also fucked up by shipping a debug build of the game, costing a not insignificant amount of performance.

[–] [email protected] 3 points 1 day ago (1 children)

Is that true about the debug build? I had it on the N64 way back when and don't remember it being especially laggy. OTOH I was young, and relatively shit at computer games

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

Yup, they shipped a debug build. Here's a video that shows the build side-by-side with one that was compiled with compiler optimizations: https://youtu.be/9_gdOKSTaxM

It was quite laggy in certain areas, particularly the submarine sank the framerate quite considerably.

[–] [email protected] 1 points 1 day ago (1 children)

I heard somewhere more recently that they probably did it on purpose because they didn't know if the game would be stable using the different settings. Nintendo was known for quality back then so if the game crashed, even a bit more, they thought it would hurt their bottom line.

[–] [email protected] 1 points 18 hours ago

True, there were several programming mistakes that caused undefined behaviour. Most of these the compiler warns about though, so they could have easily been fixed.

The issues were "masked" so to speak by the debug build (even if not fully gone, the game could still crash). But decompiling the game let modders fix those issues fairly easily, after which it could be recompiled with the proper optimizations.

[–] [email protected] 2 points 1 day ago* (last edited 1 day ago)

Thanks for the video. Yeah ok actually ~~clankers cavern~~ (no wait that was banjo kazooie, I meant that one with all the sea serpents) was hella laggy, you've brought it all back

[–] [email protected] 3 points 1 day ago

Let’s just say hypothetically I vibe coded my vim config. Where would that put me?

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

I’m still trapped in vim 25 years on.

load more comments
view more: next ›