I think good practices are something you get into when you start to work with computers for any extended length of time. I've been fiddling with computers since 1973. The bad habits I've discarded (I hope) are
- Stupid or obscure variable names
- Who cares about indentation!
- We don't need no stinkin' backups!
- Just jump in and starting coding!
- Documentation is for wimps!
The good habits that (I hope) I've retained are
- Sensible variable names
- Proper indentation and nesting
- Use of RCS, CVS or at least saving the original before I start hacking
- Some thoughtful meditation about the problem at hand -- ideally away from the keyboard
- Documentation can save your butt -- just do it
My good habits as a C programmer for fifteen years carried over nicely when I started learning HTML in 1997 and Perl in 1998. No, HTML is not a 'programming language' (since there is no concept of variables, looping, conditionals, and so forth) but I suppose you can say you 'code' in HTML -- since there are many ways to 'encode' material in order to come up with a 'result'.
Alex / talexb / Toronto
Life is short: get busy!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.