this post was submitted on 23 Nov 2023
845 points (97.8% liked)

Programmer Humor

32050 readers
1545 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 10 months ago* (last edited 10 months ago)

I worked on software that's roughly as bug-free as a living bug. Intended behavior crashed the software. The master branch was broken, no way to compile the software without local changes. Devs hunted down suppressed exceptions to find out why everything crashes and burns on a daily basis. Unit tests are in the backlog, we'll get around to it eventually.

Code reviews are ask whoever is available to approve your changes without looking at the code. Most seniors abused suppressed exceptions to use the Java Streams API, no proper technical justification. So my first official task was to unsuppress all exceptions. This caught many seniors off-guard, but made crashes infinitely easier to diagnose.

I would've done that even if it wasn't my task. Shotgun debugging is hell. I don't want to learn which component is most likely to fail silently due to retarded suppressed exceptions. Do your job properly ffs. Don't shoot others in the foot. Don't shoot yourself in the foot. You have absolutely no reason to shoot people's feet. Stop it.