![]() | This article is rated C-class on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||
|
(Original threadstarter did not title thread. --
Netizen (
talk)
15:24, 27 May 2009 (UTC))
In which languages the reserved words are the same as keywords?
(Original threadstarter did not title thread. --
Netizen (
talk)
15:24, 27 May 2009 (UTC))
Some times, depricated reserved are called as Magic words. - Narasimha Rao Konjeti
(Original threadstarter did not title thread. --
Netizen (
talk)
15:24, 27 May 2009 (UTC))
Hello all. As part of a university technical writing class assignment, our professor decided to have the class edit/create/revise a Wikipedia article. The content on this page as of 25 JAN 08, 23:00 EST, is our "contribution". I hope you find it satisfactory. I would have liked to include some references, but we didn't get that far. Any comments would be welcome. Thanks
Senseisk ( talk) 05:31, 26 January 2008 (UTC) Wayne State University Detroit, MI, USA
In the section "Comparison by language", the intro text says that the keywords in the examples are in blue, but in fact they aren't. The Java example has them in bold, while for COBOL the words IF
, THEN
, and ELSE
are in an ugly gold color. Actually, I see the wikicode specifies "fortran" as the language; "cobol" gives different highlighting, but still doesn't highlight all keywords. What should we do about this? Highlight it manually? It's a bad idea to rely on the automatic highlighting and then say it looks a certain way, since it can vary both over time and possibly by which skin a reader is using.
ddawson (
talk)
02:26, 17 December 2009 (UTC)
According to JLS §3.9, even goto and const are keywords. Only true, false and null are reserved words, but not keywords. MCEmperor ( talk) 08:02, 14 September 2017 (UTC)
Although this is a critique of the first paragraph, the entire article contains many errors and introduces too many concepts that deviate from its purpose. That being, what is a reserved word.
In a computer language, a reserved word (also known as a reserved identifier) is a word that cannot be used as an identifier, such as the name of a variable, function, or label – it is "reserved from use". This is a syntactic definition, and a reserved word may have no meaning.
![]() | This article is rated C-class on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||
|
(Original threadstarter did not title thread. --
Netizen (
talk)
15:24, 27 May 2009 (UTC))
In which languages the reserved words are the same as keywords?
(Original threadstarter did not title thread. --
Netizen (
talk)
15:24, 27 May 2009 (UTC))
Some times, depricated reserved are called as Magic words. - Narasimha Rao Konjeti
(Original threadstarter did not title thread. --
Netizen (
talk)
15:24, 27 May 2009 (UTC))
Hello all. As part of a university technical writing class assignment, our professor decided to have the class edit/create/revise a Wikipedia article. The content on this page as of 25 JAN 08, 23:00 EST, is our "contribution". I hope you find it satisfactory. I would have liked to include some references, but we didn't get that far. Any comments would be welcome. Thanks
Senseisk ( talk) 05:31, 26 January 2008 (UTC) Wayne State University Detroit, MI, USA
In the section "Comparison by language", the intro text says that the keywords in the examples are in blue, but in fact they aren't. The Java example has them in bold, while for COBOL the words IF
, THEN
, and ELSE
are in an ugly gold color. Actually, I see the wikicode specifies "fortran" as the language; "cobol" gives different highlighting, but still doesn't highlight all keywords. What should we do about this? Highlight it manually? It's a bad idea to rely on the automatic highlighting and then say it looks a certain way, since it can vary both over time and possibly by which skin a reader is using.
ddawson (
talk)
02:26, 17 December 2009 (UTC)
According to JLS §3.9, even goto and const are keywords. Only true, false and null are reserved words, but not keywords. MCEmperor ( talk) 08:02, 14 September 2017 (UTC)
Although this is a critique of the first paragraph, the entire article contains many errors and introduces too many concepts that deviate from its purpose. That being, what is a reserved word.
In a computer language, a reserved word (also known as a reserved identifier) is a word that cannot be used as an identifier, such as the name of a variable, function, or label – it is "reserved from use". This is a syntactic definition, and a reserved word may have no meaning.