Talk:Hello World

From Citizendium
Revision as of 09:17, 17 July 2010 by imported>Jess Key (→‎What does this article aim to be?: Like it. Move to /Code perhaps?)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This article is a stub and thus not approved.
Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
External Links  [?]
Citable Version  [?]
Code [?]
 
To learn how to update the categories for this article, see here. To update categories, edit the metadata template.
 Definition A very short program that a programmer writes when learning a programming language; it typically just prints a word or two of output to a console. [d] [e]
Checklist and Archives
 Workgroup category Computers [Categories OK]
 Talk Archive none  English language variant British English

Standard CS problems for teaching

One suggestion. Maybe this should be converted into an article on standard problems and programs used for teaching computer science. Off the top of my head I could think of the "8 queens problem" (recursion and backtracking) and the "Dining Philosophers Problem" (deadlocks). This could avoid having rather short article on topics like "Hello World" (just redirect Hello World to the new article). --Markus Baumeister 18:56, 12 March 2007 (CDT)

We'd probably have to break up an article such as that. The WP article for the Dining Philosophers is enormous in and of itself. Perhaps if we had an article that contained examples of such standard problems but did not describe them to their fullest but referred them to full articles then we could come up with some reasonable method of organizing articles such as these. --Paul Derry 23:49, 12 March 2007 (CDT)

Agreed - I just created this article on a whim. I didn't really think about the long-range impact of how it should be sorted and categorized into the encyclopedia. Where's the best place to create an article on standard problems / algorithms? I can see quite a few topics sprouting from an entry page as described above. --Will 00:11, 13 March 2007 (CDT)

Problems in Computer Science? Sounds reasonable. Any other ideas? --Paul Derry 11:11, 13 March 2007 (CDT)

Well there are a lot of problems in computer science ;-) but that page should cover the notable ones used for teaching. How about "Scholary problems in Computer Science"? --Markus Baumeister 15:55, 13 March 2007 (CDT)
:) I like the sound of that one! --Paul Derry 16:27, 13 March 2007 (CDT)
It's in, see Scholary problems in computer science. Now we just have to find a place to link it in. --Markus Baumeister 17:09, 13 March 2007 (CDT)

Hm... I'm just going to link it to the Computer Workgroups page for the time being under Major Subtopics. I think the matter is relevant enough for that. --Paul Derry 19:15, 13 March 2007 (CDT)

Might I suggest, if there's interest, CZ: Computer science education subgroup be created? Howard C. Berkowitz 21:57, 13 June 2010 (UTC)

Article name?

The original C program printed "hello, world" (I just looked up the Kernighan Tutorial). Should this article be at Hello, world, or Hello world, or what? J. Noel Chiappa 12:02, 15 April 2008 (CDT)

What does this article aim to be?

Currently, it is just a list of examples (13 of them), covering the exact text of hello world in nearly every language invented. I don't think this should be the purpose of the article. Here is what I would like to see instead:

  • Introduction, with K&R's original
  • Significance (why hello world? Didactic significance, notes on textbook design before and after K&R)
  • A few examples in other languages, each of which represents a different school of programming langauge (ex: C++ (similar), python (shortest?), etc.)
  • The bigger picture (influence of hello world, metasyntactic variables foo, bar and baz, but please not "Hello World in Popular Culture")

There is really not very much to say about Hello, World in terms of history, geographic variation, etc. since it has been adopted by most textbooks. However, that is no reason for the article to be a "List of Hello Worlds".

If you agree, I will rewrite the article. Johan A. Förberg 15:56, 13 June 2010 (UTC) edited Johan A. Förberg 19:55, 13 June 2010 (UTC)

I would find it a wonderful aid to have a "full" hello world, to include not just the print statement but things like any required function start/end, line delimiter, copy libraries, etc. While I can program in quite a few languages, the most annoying thing, in the beginning, is just how to create a minimal program. Howard C. Berkowitz 21:55, 13 June 2010 (UTC)
The outline you give seems to be sound. The current page could be moved to a subpage (probably Catalogs) before starting a new one. --Peter Schmitt 23:04, 13 June 2010 (UTC)
I like your proposed outline also. Peter, wouldn't Hello World/Code (see CZ:Code)be a better subpage to move it to? I don't edit many computing articles so I'm not sure if there is a convention regarding this subpage that I am unaware of. --Chris Key 15:17, 17 July 2010 (UTC)