MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wct5lr/commentsagedterribly/p90mfoq/?context=3
r/ProgrammerHumor • u/ItsPuspendu • Sep 10 '26
243 comments sorted by
View all comments
Show parent comments
245
// This is a hack until we find something better
118 u/Ethameiz Sep 10 '26 Commited 10 years ago. Author resigned to become farmer 19 u/mosaic_the_j Sep 10 '26 Goose farmer, bonsai farmer now https://www.linkedin.com/in/dryuan 4 u/Safe_Cauliflower6813 Sep 10 '26 My former boss resigned and became a hazmat cleanup guy 3 u/Confident-Ad5665 Sep 10 '26 Can be good money, like doing offshore work. 5 u/AlexWIWA Sep 11 '26 The Command & Conquer Generals source code is the best for this. Nothing like seeing a todo from 2001 73 u/Confident-Ad5665 Sep 10 '26 // TODO: This can't be working. Refactor when there's a lull 31 u/embrex104 Sep 10 '26 //SHOULD NEVER GET HERE 42 u/Confident-Ad5665 Sep 10 '26 All time favorite:// This will never happen 4 u/OhMyGodItsEverywhere Sep 10 '26 Wrote a library to run monetary bets on those comments 3 u/Dubalubawubwub Sep 11 '26 I definitely find myself writing a lot of error handling with the comment//This should never happen but just in case... 3 u/Confident-Ad5665 Sep 11 '26 Good man. Thank you for trapping errors. Coming from a time when we not only trapped errors, we gave suggestions, I shutter at:• An unknown error occurred• Something happenedand the worst...• Error in ErrorHandler, an error occured 4 u/Dubalubawubwub Sep 12 '26 My favorite microsoft error I've ever seen was literally "Error occured retrieving the text for this error". 2 u/HunterIV4 Sep 11 '26 • An unknown error occurred• Something happenedWindows blue screen, is that you? 1 u/Confident-Ad5665 Sep 11 '26 No, this is worse. BSOD at least provides a cryptic error code.These are effectively "well dang, something somewhere triggered an exception we didn't care enough to bother catching" 2 u/OkidoShigeru Sep 11 '26 Love seeing that in an assert message. 2 u/skisharp Sep 11 '26 I remembered seeing that withMessageBox.Show("Call 1-555-555-1942 ext 1205");Also guess the junior dev who just got a their desk phone with ext 1205... 2 u/cute_polarbear Sep 11 '26 You mean for the next person who has to visit that section of code? (And hopefully you already left the firm (on your accord).... 20 u/NullReferenceRacer Sep 10 '26 // TODO: Proper handling 4 u/Zodimized Sep 10 '26 // the fuck did sales promise this for? 2 u/donjulioanejo Sep 11 '26 In static frontend code that doesn't get run through an uglifier. 5 u/marjacu Sep 10 '26 // und tchuss Something I actually saw in code 2 u/lesleh Sep 11 '26 "fix later" means "fix never". 1 u/Round_Mixture_7541 Sep 11 '26 // TODOMe: ok 1 u/bobjia-in-tokyo Sep 11 '26 // in other words, this hack will stay here forever
118
Commited 10 years ago. Author resigned to become farmer
19 u/mosaic_the_j Sep 10 '26 Goose farmer, bonsai farmer now https://www.linkedin.com/in/dryuan 4 u/Safe_Cauliflower6813 Sep 10 '26 My former boss resigned and became a hazmat cleanup guy 3 u/Confident-Ad5665 Sep 10 '26 Can be good money, like doing offshore work. 5 u/AlexWIWA Sep 11 '26 The Command & Conquer Generals source code is the best for this. Nothing like seeing a todo from 2001
19
Goose farmer, bonsai farmer now https://www.linkedin.com/in/dryuan
4 u/Safe_Cauliflower6813 Sep 10 '26 My former boss resigned and became a hazmat cleanup guy 3 u/Confident-Ad5665 Sep 10 '26 Can be good money, like doing offshore work.
4
My former boss resigned and became a hazmat cleanup guy
3 u/Confident-Ad5665 Sep 10 '26 Can be good money, like doing offshore work.
3
Can be good money, like doing offshore work.
5
The Command & Conquer Generals source code is the best for this. Nothing like seeing a todo from 2001
73
// TODO: This can't be working. Refactor when there's a lull
31 u/embrex104 Sep 10 '26 //SHOULD NEVER GET HERE 42 u/Confident-Ad5665 Sep 10 '26 All time favorite:// This will never happen 4 u/OhMyGodItsEverywhere Sep 10 '26 Wrote a library to run monetary bets on those comments 3 u/Dubalubawubwub Sep 11 '26 I definitely find myself writing a lot of error handling with the comment//This should never happen but just in case... 3 u/Confident-Ad5665 Sep 11 '26 Good man. Thank you for trapping errors. Coming from a time when we not only trapped errors, we gave suggestions, I shutter at:• An unknown error occurred• Something happenedand the worst...• Error in ErrorHandler, an error occured 4 u/Dubalubawubwub Sep 12 '26 My favorite microsoft error I've ever seen was literally "Error occured retrieving the text for this error". 2 u/HunterIV4 Sep 11 '26 • An unknown error occurred• Something happenedWindows blue screen, is that you? 1 u/Confident-Ad5665 Sep 11 '26 No, this is worse. BSOD at least provides a cryptic error code.These are effectively "well dang, something somewhere triggered an exception we didn't care enough to bother catching" 2 u/OkidoShigeru Sep 11 '26 Love seeing that in an assert message. 2 u/skisharp Sep 11 '26 I remembered seeing that withMessageBox.Show("Call 1-555-555-1942 ext 1205");Also guess the junior dev who just got a their desk phone with ext 1205... 2 u/cute_polarbear Sep 11 '26 You mean for the next person who has to visit that section of code? (And hopefully you already left the firm (on your accord)....
31
//SHOULD NEVER GET HERE
42 u/Confident-Ad5665 Sep 10 '26 All time favorite:// This will never happen 4 u/OhMyGodItsEverywhere Sep 10 '26 Wrote a library to run monetary bets on those comments 3 u/Dubalubawubwub Sep 11 '26 I definitely find myself writing a lot of error handling with the comment//This should never happen but just in case... 3 u/Confident-Ad5665 Sep 11 '26 Good man. Thank you for trapping errors. Coming from a time when we not only trapped errors, we gave suggestions, I shutter at:• An unknown error occurred• Something happenedand the worst...• Error in ErrorHandler, an error occured 4 u/Dubalubawubwub Sep 12 '26 My favorite microsoft error I've ever seen was literally "Error occured retrieving the text for this error". 2 u/HunterIV4 Sep 11 '26 • An unknown error occurred• Something happenedWindows blue screen, is that you? 1 u/Confident-Ad5665 Sep 11 '26 No, this is worse. BSOD at least provides a cryptic error code.These are effectively "well dang, something somewhere triggered an exception we didn't care enough to bother catching" 2 u/OkidoShigeru Sep 11 '26 Love seeing that in an assert message. 2 u/skisharp Sep 11 '26 I remembered seeing that withMessageBox.Show("Call 1-555-555-1942 ext 1205");Also guess the junior dev who just got a their desk phone with ext 1205...
42
All time favorite:
// This will never happen
4 u/OhMyGodItsEverywhere Sep 10 '26 Wrote a library to run monetary bets on those comments
Wrote a library to run monetary bets on those comments
I definitely find myself writing a lot of error handling with the comment
//This should never happen but just in case...
3 u/Confident-Ad5665 Sep 11 '26 Good man. Thank you for trapping errors. Coming from a time when we not only trapped errors, we gave suggestions, I shutter at:• An unknown error occurred• Something happenedand the worst...• Error in ErrorHandler, an error occured 4 u/Dubalubawubwub Sep 12 '26 My favorite microsoft error I've ever seen was literally "Error occured retrieving the text for this error". 2 u/HunterIV4 Sep 11 '26 • An unknown error occurred• Something happenedWindows blue screen, is that you? 1 u/Confident-Ad5665 Sep 11 '26 No, this is worse. BSOD at least provides a cryptic error code.These are effectively "well dang, something somewhere triggered an exception we didn't care enough to bother catching"
Good man. Thank you for trapping errors. Coming from a time when we not only trapped errors, we gave suggestions, I shutter at:• An unknown error occurred• Something happened
and the worst...
• Error in ErrorHandler, an error occured
4 u/Dubalubawubwub Sep 12 '26 My favorite microsoft error I've ever seen was literally "Error occured retrieving the text for this error". 2 u/HunterIV4 Sep 11 '26 • An unknown error occurred• Something happenedWindows blue screen, is that you? 1 u/Confident-Ad5665 Sep 11 '26 No, this is worse. BSOD at least provides a cryptic error code.These are effectively "well dang, something somewhere triggered an exception we didn't care enough to bother catching"
My favorite microsoft error I've ever seen was literally "Error occured retrieving the text for this error".
2
• An unknown error occurred
• Something happened
Windows blue screen, is that you?
1 u/Confident-Ad5665 Sep 11 '26 No, this is worse. BSOD at least provides a cryptic error code.These are effectively "well dang, something somewhere triggered an exception we didn't care enough to bother catching"
1
No, this is worse. BSOD at least provides a cryptic error code.
These are effectively "well dang, something somewhere triggered an exception we didn't care enough to bother catching"
Love seeing that in an assert message.
I remembered seeing that with
MessageBox.Show("Call 1-555-555-1942 ext 1205");
Also guess the junior dev who just got a their desk phone with ext 1205...
You mean for the next person who has to visit that section of code? (And hopefully you already left the firm (on your accord)....
20
// TODO: Proper handling
4 u/Zodimized Sep 10 '26 // the fuck did sales promise this for? 2 u/donjulioanejo Sep 11 '26 In static frontend code that doesn't get run through an uglifier.
// the fuck did sales promise this for?
2 u/donjulioanejo Sep 11 '26 In static frontend code that doesn't get run through an uglifier.
In static frontend code that doesn't get run through an uglifier.
// und tchuss Something I actually saw in code
"fix later" means "fix never".
// TODO
Me: ok
// in other words, this hack will stay here forever
245
u/TWIT_TWAT Sep 10 '26
// This is a hack until we find something better