Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Agreed!

by adrianh (Chancellor)
on Aug 22, 2003 at 21:37 UTC ( [id://285929]=note: print w/replies, xml ) Need Help??


in reply to Rewriting often not necessary
in thread Difficult code (Resolutions)

This I guess is a corrolary to if it ain't broke then don't fix it.

I would consider any code that's too complex to be understood without comments to be broken :-)

If you don't spend the time to make your code simpler it just gets more and more complex over time - until you eventually end up with a big ball of mud.

Don't accept the evils of code entropy! Continually refactor your code to make it as simple as possible. You'll be surprised how quickly it pays off.

Replies are listed 'Best First'.
Re^2: Difficult code (Resolutions)
by jdporter (Paladin) on Mar 21, 2005 at 17:49 UTC
    I would consider any code that's too complex to be understood without comments to be broken :-)

    Exactly right (smileys not withstanding) — at least from the developer's point of view.

    Not only do you run the danger of ending up with a big ball of mud, but as a maintainer, you'll become increasingly guilty of voodoo chicken coding.

    XP sez: Refactor Mercilessly!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2024-04-16 16:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found