xia@lemmy.ca to Programmer Humor@lemmy.mlEnglish · 1 year agodo as i say...lemmy.caimagemessage-square98fedilinkarrow-up11.07K
arrow-up11.07Kimagedo as i say...lemmy.caxia@lemmy.ca to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square98fedilink
minus-squareIphtashuFitz@lemmy.worldlinkfedilinkEnglisharrow-up335·edit-21 year agoMany 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”.
minus-squaredhtseany@lemmy.mllinkfedilinkarrow-up47·1 year agoTo be honest I’d like to see his resume, kinda wanna hire him
minus-squareIphtashuFitz@lemmy.worldlinkfedilinkEnglisharrow-up46·1 year agoThat was close to 30 years ago - a DOS memory manager written prior to Windows 3.0. He’s likely retired now…
minus-squareVictorialinkfedilinkarrow-up56·1 year agoproposal to rename exit() to oh_shit_oh_shit_oh_shit()
minus-squarevrighter@discuss.tchncs.delinkfedilinkarrow-up10·1 year agofuck_this_shit_im_outta_here()
minus-squareKIM_JONG@lemmy.worldlinkfedilinkEnglisharrow-up6·1 year agoIn the 90s there was a Redhat distro called Cartman.
minus-squarez500@startrek.websitelinkfedilinkEnglisharrow-up4·1 year agoRed Hat 6.1, that was my first Linux distro.
minus-squareRenny Protogenny@feddit.nllinkfedilinkarrow-up3·1 year agoscrew_you_im_gonna_go_play_minecraft()
minus-squareDrew Belloc@programming.devlinkfedilinkarrow-up44·1 year agoI will keep this legacy alive within my code
minus-squareWakmrow@lemmy.worldlinkfedilinkarrow-up30·1 year agoOkay yeah but I know what all those variables do
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”.
I like him already
To be honest I’d like to see his resume, kinda wanna hire him
That was close to 30 years ago - a DOS memory manager written prior to Windows 3.0. He’s likely retired now…
proposal to rename exit() to oh_shit_oh_shit_oh_shit()
screw_you_guys_im_going_home()
fuck_this_shit_im_outta_here()
In the 90s there was a Redhat distro called Cartman.
Red Hat 6.1, that was my first Linux distro.
screw_you_im_gonna_go_play_minecraft()
I will keep this legacy alive within my code
Okay yeah but I know what all those variables do
Ugh.
Sounds like my type of guy.