Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: IYHO, what do you consider good code?

by Ovid (Cardinal)
on Jun 13, 2003 at 03:48 UTC ( #265575=note: print w/ replies, xml ) Need Help??


in reply to IYHO, what do you consider good code?

A good programmer is akin to a good writer: he or she knows the rules and thus knows when to break them. A bad programmer breaks those rules without knowing why and thus has no good reason for it.

In other words, good code is a very contextual things. As a result, good code itself is hard to define but for a start on some guidelines you can check out 'use strict' is not Perl. (though I confess that it's a bit dated and I should fix some minor booboos in it -- particularly the part about orthogonal code).

Cheers,
Ovid

New address of my CGI Course.
Silence is Evil (feel free to copy and distribute widely - note copyright text)


Comment on Re: IYHO, what do you consider good code?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2015-07-30 09:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls