Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: "Cleverness" from HOP

by eyepopslikeamosquito (Archbishop)
on Jun 11, 2009 at 21:51 UTC ( [id://770775]=note: print w/replies, xml ) Need Help??


in reply to "Cleverness" from HOP

In On Coding Standards and Code Reviews, I summarized this sentiment in two rules:

  • Correctness, simplicity and clarity come first. Don't be a clever-dick.
  • If you must rely on cleverness, encapsulate and comment it.

That is, I don't think you should ban cleverness, just discipline, comment and encapsulate it, so that your code base can be successfully maintained by a succession of many different programmers, with varying talents, over a period of many years.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (12)
As of 2024-04-23 08:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found