You are viewing a single thread.
View all comments
339 points
*

Many years ago I had to try to debug a memory manager written by a really talented software engineer, with an interesting take on naming things…

  • He referred to blocks of memory as “cookies”.

  • He had a temporary variable named “handy” because it was handy to have around.

  • He had a second temporary variable that referenced the first one that he called “son_of_handy”.

  • If corruption was detected in a block of memory then it would set the flag “shit_cookie_corrupt”.

  • If too many cookies were corrupt then the system would halt by calling the function “oh_shit_oh_shit_oh_shit”.

permalink
report
reply
149 points

I like him already

permalink
report
parent
reply
45 points

To be honest I’d like to see his resume, kinda wanna hire him

permalink
report
parent
reply
46 points

That was close to 30 years ago - a DOS memory manager written prior to Windows 3.0. He’s likely retired now…

permalink
report
parent
reply
55 points

proposal to rename exit() to oh_shit_oh_shit_oh_shit()

permalink
report
parent
reply
43 points

screw_you_guys_im_going_home()

permalink
report
parent
reply
12 points

fuck_this_shit_im_outta_here()

permalink
report
parent
reply
6 points

In the 90s there was a Redhat distro called Cartman.

permalink
report
parent
reply
3 points

screw_you_im_gonna_go_play_minecraft()

permalink
report
parent
reply
45 points

I will keep this legacy alive within my code

permalink
report
parent
reply
29 points

Okay yeah but I know what all those variables do

permalink
report
parent
reply
15 points

Ugh.

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 5.3K

    Monthly active users

  • 1.5K

    Posts

  • 33K

    Comments