View Single Post
Old 04-07-2010, 11:31 AM  
mafia_man
Confirmed User
 
mafia_man's Avatar
 
Industry Role:
Join Date: Jul 2005
Location: icq#: 639544261
Posts: 1,965
Quote:
Originally Posted by k0nr4d View Post
Im not gonna say im against commenting because its sometimes useful when something is done complicated or strange for some specific reason, but the fact is if someone cant figure out what a piece of code does from looking at it, they have no business editing it.

As long as you use self-explainatory function names and variables...
If you don't comment then you should document code. One or the other depending on how big the project is.

If it's some shitty PHP script to resize pics though I wouldn't bother. Also Python because the code reads like a book anyway.
__________________
I'm out.
mafia_man is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote