Author Topic: About commenting code  (Read 885 times)

0 Members and 1 Guest are viewing this topic.

Offline rhide

  • Major
  • *
  • Posts: 60
  • Coffee-addict
    • Vrastar-Hai soldat clan
About commenting code
« on: March 24, 2008, 10:00:03 am »
After looking around a bit I find very few people using comments in their code. When the server loads the script, all comments are removed no? If so I think we all should use comments a  lot more to structure our code. It makes life a lot easier both for the original creator and for people who want to borrow code to improve their own scripts..
Warning! Division by zero seriously injures yourself and the people in your surroundings.

Proud member of Vrastar-Hai:
http://www.guldheden.com/~erga050/vrastar-hai

Offline rumpel

  • Camper
  • ***
  • Posts: 410
Re: About commenting code
« Reply #1 on: March 24, 2008, 10:32:42 am »
yeah add more comments... they dont hurt your feelings and they help the scripter/user easier to use
banned.

Offline Boblekonvolutt

  • Soldier
  • **
  • Posts: 222
  • "YOU are a CAR."
Re: About commenting code
« Reply #2 on: March 24, 2008, 06:06:32 pm »
And use functions and procedures...

Offline chutem

  • Veteran
  • *****
  • Posts: 1119
Re: About commenting code
« Reply #3 on: March 24, 2008, 06:07:41 pm »
Lol i was making a script (progress is somewhat slow now) and I was commenting every line XD
1NK3FbdNtH6jNH4dc1fzuvd4ruVdMQABvs