this post was submitted on 05 Aug 2023
692 points (97.9% liked)
Programmer Humor
32371 readers
583 users here now
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.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This reminds me when a senior engineer asked me to write exception handling on a one-off python script, not a production code - just a script devs can use internally. The "handling" was that the program should exit when a file is not found. He wanted me to
try
the file open,except
the file error, print "file not found" message and exit(1).Guess what, genius. Python already does that for you. No need to write an extra wrapper needlessly.