Go to Post Social life? Ha! Robotics is my social life. :D - Éowyn [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 18-01-2004, 21:15
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Lightbulb Comments

Question: Why doesn't anyone use single-line comments?

the /* */ doesn't nest.

Like:
Code:
//This is a one line Comment.

/* Commented_Out_Code();
 /* this is a multi-line
     Comment in Code */
 This_Code_Still_Executes(); */

/* Commented_Out_Code();
 // this is a multi-line
 // comment in code
 // split into single-line
 // comments
 This_Code_Dont_Execute(); // :ahh:  */
The reason I say this is that you can use /* */ for commenting out and debugging.

Isn't it good coding practice to do this anyway?

Plus, It isn't in the default code, Anywhere.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Give some comments to 114's animation Brian Yip 3D Animation and Competition 14 21-04-2003 23:47
I would be remiss (and some other misc. comments) archiver 1999 0 23-06-2002 23:13
Another idea looking for comments archiver 1999 16 23-06-2002 22:01
The FIRST Forum - coming August 1st - Your comments wanted skrussel General Forum 3 09-07-2001 00:49


All times are GMT -5. The time now is 00:33.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi