[Gambas-user] Are SlashSlash comments okay in the code?
Cedron Dawg
cedron at exede.net
Sat Mar 2 16:52:34 CET 2019
Technically they are a C++ feature, but seem to work fine in .c with gcc.
So my question is really more of a policy one.
I prefer all my running comments to be // style, this way I can comment out a whole block with a leading /* and trailing */. Otherwise, I have to either wrap it with a #ifdef (and I despise #defines), or a real code "if( 0 ){}", or temporarily cut and paste the code into a holding place.
More information about the User
mailing list