9 Programming Rules

Share this Story

Advertising

1. KISS – Keep it Simple Stupid, this also applies to designing programs, why do these things need to be so complicated?

2. ID Division, at the top of every page/program put an ID Division so we know what this section does and who the author is.

3. Comment on each section of code so we understand its objective.

4. Declare your variables.

5. Use meaningful variable names.

6. Use an appropriate prefix for each objects name.

7. Progressively indent your code so its easier to read.

8. Back up!

9. Meet your end objectives.

Published in PHP

Leave a Comment

No Comments Yet!

Network with Me

Facebook Twitter RSS

Favourite Articles

"Not everything that can be counted counts, and not everything that counts can be counted."