There's more than one way to do things | |
PerlMonks |
Re^3: Mad, bad and dangerous to knowby Anonymous Monk |
on Jul 31, 2006 at 19:51 UTC ( [id://564855]=note: print w/replies, xml ) | Need Help?? |
I seen worse, the guy whose code that I took over in my last position had a 500 line if-elsif-else loop. No notes, no documentation, and a lot of it went beyond 100 characters per line (so I cannot even print it out to make it readable). That is BAD PERL CODE.
A lot of perl code is bad perl code. I've seen 500+ line loops in about 30% of the perl code I see. The lack of use strict is worse. No one writes tests; unit or otherwise. Documentation is restricted to crypic comments in the source than often guard against conditions that no longer apply, or are flat out wrong. It's easy to blame the coders, but management let it into production in that state...
In Section
Meditations
|
|