Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Common Beginner Mistakes

by Dominus (Parson)
on Dec 15, 2000 at 09:38 UTC ( #46796=note: print w/ replies, xml ) Need Help??


in reply to Common Beginner Mistakes

Great article, thanks. A lot of this is really excellent advice.

Interested persons might want to take a look at my "red flags" articles, which are in a similar vein: "If you find yourself writing code like this, try to change it so that it looks like this instead."

Briefly, a red flag is an early warning sign that you might be doing something wrong in your program. Whenever you see a red flag, you should pause and wonder if there isn't a better way to accomplish the same thing.

chromatic's Repetition Without Abstraction is a great example of this; I think in one of the articles I called it "The Red Flag of All Red Flags" or something.

Thanks again for a great post.


Comment on Re: Common Beginner Mistakes

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (12)
As of 2015-07-07 22:22 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 (93 votes), past polls