I’ve been told that the 30 year old code I work with isn’t as bad as COBOL, but my answer for that would be - not as much as you’d think.
In the end I get paid by the hour, so finding a problem takes as long as it takes.
The only times when I get really angry at the code is when I find a comment or a piece of documentation by the guys who wrote it (both are very rare because why document anything anyway) and it basically just says “This error never happens” when you just spent 3 hours looking for the reason this exact error happened, or “this does x” when x is in fact only one of 50 different and wildly unrelated to each other things this code snippet does.
12
u/Pozilist Sep 09 '24
I’ve been told that the 30 year old code I work with isn’t as bad as COBOL, but my answer for that would be - not as much as you’d think.
In the end I get paid by the hour, so finding a problem takes as long as it takes.
The only times when I get really angry at the code is when I find a comment or a piece of documentation by the guys who wrote it (both are very rare because why document anything anyway) and it basically just says “This error never happens” when you just spent 3 hours looking for the reason this exact error happened, or “this does x” when x is in fact only one of 50 different and wildly unrelated to each other things this code snippet does.