|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||||
|
|||||
|
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: */
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 |
|
|
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 |