here's an idea:
the more experienced people here use this thread to compare ideas on when and how to comment and share their own styles of commenting and code organization.
i'll post mine after i get some responses...
here's an idea:
the more experienced people here use this thread to compare ideas on when and how to comment and share their own styles of commenting and code organization.
i'll post mine after i get some responses...
Always use // instead of /**/.
When commenting out large areas of the code, perhaps when testing, the comments won't show up when viewed in a texteditor without syntax highlightning. (or for example this forum)
VC++ can comment and uncomment a selected area automatically.
Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling
gimme a keystroke for that. Didn't know that existed.Originally posted by Sang-drax
VC++ can comment and uncomment a selected area automatically.
"You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter
Excessive commenting is worse than too little imo.
Couldn't think of anything interesting, cool or funny - sorry.
In VC++.NET:
Ctrl+K, Ctrl+C
Ctrl+K, Ctrl+U
or
Edit->Advanced->(Un)Comment Selection
Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling
oh, you meant VC++ .NET.
no wonder I've never seen it.
"You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter