On 4/3/02 11:26 AM, "Daniel Rall" <[EMAIL PROTECTED]> wrote:
> "Geir Magnusson Jr." <[EMAIL PROTECTED]> writes:
>
>> Oh, btw, icky comment style :)
>
> Hah! While we're on the subject, let me mention why I hate the use
> block comments in implementations.
>
> When you're debugging, and want to comment out a large block of code
> at once, the presence of pre-existing block comments inhibits your
> ability to do so (they confuse the compiler).
What compiler?
I can do
public class Comment
{
public Comment()
{
// /*
// * I am a block comment
// */
}
}
And my compiler handles it just fine...
Is that what you meant?
> Sure, you could just
> throw an if (false) {} block around the section you wanted commented
> out, but that's what block comments are for in the first place!!! Use
> of line comments avoids this problem entirely. XEmacs M-q will take
> one or more line comments and rejigger them into a list of neatly
> formatted line comments in a single key stroke.
>
> - Dan
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
--
Geir Magnusson Jr. [EMAIL PROTECTED]
System and Software Consulting
POC lives!
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>