Raised This Month: $ Target: $400
 0% 

a wee bit o help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 03-20-2005 , 23:46  
Reply With Quote #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.
Attached Files
File Type: sma Get Plugin or Get Source (talkarea.sma - 683 views - 7.4 KB)
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode