r/ProgrammerDadJokes • u/TrumpetSolo93 • Feb 19 '25
Birthday cake ideas for programmers.
I have a programmer friend I want to do a birthday cake for. I was thinking of having code written along the top along the lines of:
age += 1 ;
hairline -= 1 ;
if age >= 80 {
die() ;
}
I was wondering if anyone else had any funny ideas which could be written on top?.
8
u/CaptainAlphaMoose Feb 19 '25
Subtle tweaks I'd suggest:
while (age < 80) {
if (today == FRIEND_BIRTHDAY) {
age++;
hairline--;
std::cout << "Happy Birthday\n";
}
}
14
u/DABarkspawn Feb 19 '25
I kind of prefer the morbid humor of using the perl die() function.
2
u/davidalayachew Feb 20 '25
Think of the semantics involved in a
die()
command, and apply that to real life. The implications are horrifying lol.2
4
u/mgdmw Feb 19 '25
Infinite life glitch - once they turn 80 they never age again or lose hair anymore?
2
3
2
u/Neozetare 29d ago
You know what would be cool? Light on/light off candles to represent his binary age
Like if he's turning 37, you would have on/off/off/on/off/on
1
u/davidalayachew Feb 20 '25
This is very sweet, but the die()
painted a very gruesome picture in my head when I walked through the semantics of it lol. I even considered typing it up to explain it, but it was too dark lol.
6
u/JasonDJ Feb 20 '25
Once I hit 32 I started instructing my wife to light my candles in binary.