 |
|
bad
Join Date: Jul 2004
Location: CS lab
|

03-20-2005
, 23:46
|
#8
|
WOW thats bad coding.
You see, there are four principles all coders should follow:
1. KISS
Keep it simple stupid!
Use the easiest solution.
2. Encapsulation
Everything should do its thing, and only its thing.
Stuff should only have enough knowledge to do its job.
This means deligation (telling other stuff to do your work for you)
3. Readability
You want to make it readable.
This means no OVER COMMENTING. You dont even need comments if your code is readable enough. Make good variables for god sake!
Oh and comment when nessasary.
4. Extendability
Make your coding easy to extend.
This means making it so, instead of re-writing everything, or rewriting large chunks, you can simply add a few lines, or tack in the new code.
__________________
.png" rel="nofollow noopener">
|
|
|
|