Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^2: "Cleverness" from HOP

by BerntB (Deacon)
on Jun 14, 2009 at 22:11 UTC ( #771476=note: print w/replies, xml ) Need Help??

in reply to Re: "Cleverness" from HOP
in thread "Cleverness" from HOP

I have a recent personal experience of this.

Half a year ago, I did some intricate mangling of a query language. The delivery schedule was really, really tight.

People reading my code, complained that all the comments made it hard to read. That was a first. :-)

With less time pressure I would generally refactor code this complex, so it wouldn't need all the explanations. (Not so "clever" -- more "dense". Just an OO interface to the code's internal data structures would have helped a lot with clarity.)

The code more or less followed Perl Best Practices, but was still an example on how not to do it... :-(

Edit: Refactored this comment a bit, so it is possible to parse. :-)

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://771476]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2021-10-26 19:15 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (90 votes). Check out past polls.