Talk:Comment (computing)

message: Why do spammers continually want to change this page? -- Mattworld 00:53, Nov 16, 2004 (UTC)
:I don't know what their problem is... both the talk page and the article are targets for some reason.  Moreso than any other articles I have on my watchlist. -[Unknown] 08:27, Nov 16, 2004 (UTC)
::Most wiki spamming tools assume /wiki/Comment will be some sort of guest book or comment page. --Sam Hocevar 23:56, 24 Nov 2004 (UTC)
thread_title:  Spammers 

message: I added an NPOV-dispute marker to the page because of the authoritatively-stated opinions on how they are to be used. I actually agree with most of those opinions, but I don't think it's appropriate for Wikipedia to give them as its own. Rather, Wikipedia should give information about various opinions on the good use of comments - GNU's coding standards, Linus Torvald's coding instructions, etc. - without taking a side. (I'm kind of amused - I never thought I'd be adding an NPOV-dispute marker to a page on programming-language comments, of all things.) Ruakh 03:59, 8 Mar 2005 (UTC)
replies: text: This article has gone through a minor re-write. Maybe we could look again at the NPOV problem and decide whether it still exists and if so, what to do about it. Shinobu 00:41, 6 Apr 2005 (UTC)

text: If I could do anything to make this article any more neutral, I would be most glad to help. Shinobu 20:08, 6 Apr 2005 (UTC)
thread_title:  NPOV 

message: As for the example I added in the usage section, I thought that if someone see
:list = [b, b, c, d, a];
he may think that a, b, c and d are not variables. So I changed it to 
:list = [f (b), f (b), f (c), f (d), f (a)];
Here, I think f looks like a function. If any of you can come up with the better one, that would be appreciated. -- Taku 00:46, Apr 11, 2005 (UTC)
I think most people would think they are variables. (Most languages quote strings.) However, it does not matter for this example wether a ... d are variables or not. If taken as strings, the reader just sees the special case a = "a" etc. Since you used arbitrary variables this does not matter. The example would have served equally well if the list would have been [a, a, d, a, b] or something entirely different. So reading the variables as strings is just taking an arbitrary example, which is what you intended in any case. Introducing an extra function is not necessary.
So what to do? 1) Leave it as it is. 2) Revert it. 3) Use strings. 4) Leave out the "list="-line. (And maybe rename list to something fancyful.) 5) Retrieve the list via a function call. list = files_in(my_folder);
I hope this helps. I'm personally in favour of 4 or 5, but I encourage you to use your own imagination, since there must exist examples I overlooked. Cordially yours, Shinobu 01:26, 11 Apr 2005 (UTC)
thread_title:  Example in usage  

message: The remark about comments being regarded as whitespace is not necessarily true. In HTML for instance, HTML results in "HTML", not in "HT ML". Also I seem to remember some old C compilers allowed one to glue identifiers together using /**/, which was useful because ## was not supported back then. Shinobu 02:06, 12 Apr 2005 (UTC)
replies: text: Yeah, I think that's simply an error. There are plenty of languages where comments are less significant than arbitrary whitespace. I'm reverting that change. Ruakh 05:30, 12 Apr 2005 (UTC)
thread_title:  Whitespace? 

message: *Automatic documentation generation
*Other uses
Shouldn't these be in the Usage section? The flow of the article feels a bit illogical as it is now. Shinobu 05:09, 18 May 2005 (UTC)
thread_title:  Usage 

message: I deleted this from the R entry. While if can be used in this way to prevent a block of code from executing, and R's syntax makes it easy to exploit for commenting purposes, this is really a feature of block-structured languages as opposed to a "comment" tool. You might as well say that the C preprocessor trick #if 0 ... #endif is also a way to do comments. -- 168.140.181.4 00:22, 9 October 2006 (UTC)
replies: text: I don't see why we shouldn't include both as ways to include comments. StuRat 04:41, 18 October 2006 (UTC)
replies: text: Well, you shouldn't include the C trick because it's not a way to do comments. The tokens inside the #if 0 still have to lex properly, or the compiler will get upset. Languages typically have very few and unobtrusive restrictions on what can go in comment text. Having to look like C tokens is not a small restriction, in my book. Besides, C already provides a (couple of) perfectly good comment syntax of its own. --Quuxplusone 00:23, 30 November 2006 (UTC)
replies: text: I think I should point out that a lot of compilers (most?) don't care what appears inside blocks of text discarded by the preprocessor. Usually you can even run the preprocessor on non-C files if you wish to do so. Shinobu 05:45, 7 December 2006 (UTC)
thread_title:  if (FALSE) { ... } 

message: Comments should be seen to once the merging is done.
:This article was created ostensibly to distinguish different types of comments in "computing" from comments in "computer programming" (not necessarily the same thing). If the page is confusing to some readers, perhaps it can be changed into a redirect to comment. This article doesn't seem to be much more than a disambiguation page anyway. dr.ef.tymac 03:21, 2 January 2007 (UTC)
thread_title:  Moving 

message: I have removed the WikiProject tag, as this article is either a redirect or deleted. If you oppose, please restore the tag. Thank you, fahadsadah (talk,contribs) 16:10, 30 March 2009 (UTC)
thread_title:  Wikiproject Computing