Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum Goto page Previous  1, 2
Zugg Posted: Tue Aug 01, 2006 10:05 pm
Problem with new Module/Package stuff
Rainchild
Wizard


Joined: 10 Oct 2000
Posts: 1551
Location: Australia

PostPosted: Wed Aug 02, 2006 10:45 pm   
 
If I was to use an inline comment I would always put a space after it anyway eg:

// this is a comment

Not sure about other folks, I guess there's always going to be someone who breaks it :)
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Thu Aug 03, 2006 3:40 am   
 
Inline comments are definitely a keeper. I'm with Rainchild, it's rare that I don't put a space after the //.
_________________
Asati di tempari!
Reply with quote
Taz
GURU


Joined: 28 Sep 2000
Posts: 1395
Location: United Kingdom

PostPosted: Fri Aug 04, 2006 10:24 pm   
 
It's odd but sometimes I'll write a whole program and I won't have put spaces after the comment characters and other times I'll have a whole program where I did, never had one with a mixture yet, no idea why other than that I'm odd. A space after the comment character is definitely better looking in my opinion.

Larkin: The inline comments can't be removed other wise you start to get more incompatibility between zMUD and CMUD even though I agree that they are not really needed as commenting looks far tidier done above the line you are making a comment about.
_________________
Taz :)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net