Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^3: Mad, bad and dangerous to know

by Anonymous Monk
on Jul 31, 2006 at 19:51 UTC ( #564855=note: print w/replies, xml ) Need Help??

in reply to Re^2: Mad, bad and dangerous to know
in thread Mad, bad and dangerous to know

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...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://564855]
[Corion]: Oh, cool! Have fun Discipulus!
[Discipulus]: sure! probably the last chance to choice my holidays, 3 weeks

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2018-06-25 18:22 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (128 votes). Check out past polls.