Do you know where your variables are? | |
PerlMonks |
Re: Why I'm a Pod::Naziby brianarn (Chaplain) |
on Nov 22, 2001 at 08:30 UTC ( [id://126937]=note: print w/replies, xml ) | Need Help?? |
I couldn't agree more about commenting and how important it is. I have two rules that I follow no matter what I code, unless I'm going for a one-line wonder.
Also, writing code for those who come after you is very helpful, as it keeps people from bugging you with questions about code you've moved on from. ;) A good example of this would be my current position. I've written code that (hopefully) will never have to be updated or maintained. However, that's just a pipe dream. So, since the people who will be coming after me have no Perl experience (cause my boss insists on hiring people with no PC knowledge but with people skills <rolls eyes>), almost every single line of my code is commented with why I'm using a chunk of code there. Comments are one of the best tools a coder has - use them wisely. :) ~Brian
In Section
Meditations
|
|