Thread: Invisibility
View Single Post
  #3  
Old 09-16-2012, 03:45 AM
salesman salesman is offline
Finger lickin' good.
salesman's Avatar
Join Date: Nov 2008
Location: Colorado
Posts: 1,865
salesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud of
Quote:
Originally Posted by BlueMelon View Post
Just a tip, your code lacks of comments.
I'd rather see clear code and functions/variables with appropriate names. Comments should only really be used when it might be unclear to another coder what you're trying to do.

I hate seeing stuff like this:
PHP Code:
// set hp to 100
this.hp 100
Unless you're trying to explain an algorithm to someone who isn't familiar with the language, having too many comments is just annoying.
__________________
Reply With Quote