By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,034 Members | 1,714 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,034 IT Pros & Developers. It's quick & easy.

Code Comment

P: n/a
Hello

Is there an option in the Code Comment Tool, so that the values of constants
are automatically commented? Or must I comment them manually?

Thanks
- Andy
Nov 15 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Andy,

You must comment them manually.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Andy" <sp**@bluewin.ch> wrote in message
news:10***************@fuchs.cyberlink.ch...
Hello

Is there an option in the Code Comment Tool, so that the values of constants are automatically commented? Or must I comment them manually?

Thanks
- Andy

Nov 15 '05 #2

P: n/a
Hi Andy,

There is no such tool.
Why would you want to comment constant value?

--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com

"Andy" <sp**@bluewin.ch> wrote in message
news:10***************@fuchs.cyberlink.ch...
Hello

Is there an option in the Code Comment Tool, so that the values of constants are automatically commented? Or must I comment them manually?

Thanks
- Andy

Nov 15 '05 #3

P: n/a
<"Miha Markic" <miha at rthand com>> wrote:
There is no such tool.
Why would you want to comment constant value?


To explain exactly what it's the constant of, presumably - the same way
Double.MinValue, Double.NaN etc are commented. Why would you *not* want
to comment constant values?

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 15 '05 #4

P: n/a
I think if we go back to the original post -
Is there an option in the Code Comment Tool, so that the values of constants are automatically commented?

the real question is HOW will a tool AUTOMATICALLY generate comments for
constants?
If you find a tool that will read my mind and write code, i'm in! :-)

-Rob Teixeira [MVP]

"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in message
news:MP************************@msnews.microsoft.c om... <"Miha Markic" <miha at rthand com>> wrote:
There is no such tool.
Why would you want to comment constant value?


To explain exactly what it's the constant of, presumably - the same way
Double.MinValue, Double.NaN etc are commented. Why would you *not* want
to comment constant values?

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Nov 15 '05 #5

P: n/a
<"Rob Teixeira [MVP]" <RobTeixeira@@msn.com>> wrote:
I think if we go back to the original post -
Is there an option in the Code Comment Tool, so that the values of constants are automatically commented?


the real question is HOW will a tool AUTOMATICALLY generate comments for
constants?
If you find a tool that will read my mind and write code, i'm in! :-)


Oh I have no problem with *that* being impossible, but that's not what
Miha asked.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 15 '05 #6

P: n/a
Ah yes, actually Rob got my intention while my question was bad-formed.
Yes, I was acutally wondering why would you automatically comment ....
Sorry, for misleading you.

--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com

"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in message
news:MP************************@msnews.microsoft.c om...
<"Rob Teixeira [MVP]" <RobTeixeira@@msn.com>> wrote:
I think if we go back to the original post -
>> Is there an option in the Code Comment Tool, so that the values of

constants
>> are automatically commented?


the real question is HOW will a tool AUTOMATICALLY generate comments for
constants?
If you find a tool that will read my mind and write code, i'm in! :-)


Oh I have no problem with *that* being impossible, but that's not what
Miha asked.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Nov 15 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.