Talk:List of Hello world program examples

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Computing (Rated List-class)
WikiProject icon This article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 List  This article has been rated as List-Class on the project's quality scale.
 ???  This article has not yet received a rating on the project's importance scale.
 
WikiProject Computer science (Rated List-class, Mid-importance)
WikiProject icon This article is within the scope of WikiProject Computer science, a collaborative effort to improve the coverage of Computer science related articles on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 List  This article has been rated as List-Class on the project's quality scale.
 Mid  This article has been rated as Mid-importance on the project's importance scale.
 

Esoteric programming languages[edit]

Is this article the place for the "joke" languages Chef and Shakespeare? The problems seem to include:

  • The article is supposed to allow comparison between the languages in the simplest possible way but these are deliberately obfuscated, making that impossible
  • The article contains small snippets of code for each language but these are deliberately verbose, meaning they have WP:UNDUE prominence

I propose to remove them. (hq9+ is another esoteric one, but as this kind of article is its sole reason for being, and it's short, I don't see a similar reason to remove it.) RichardOSmith (talk) 06:35, 21 May 2011 (UTC)

As there has been no objection I shall go ahead. RichardOSmith (talk) 10:15, 28 May 2011 (UTC)
Good idea. Johnuniq (talk) 10:28, 28 May 2011 (UTC)
A bit belatedly, I also agree. Mudwater (Talk) 13:35, 28 May 2011 (UTC)

Incorrect Hello World sentence in Pascal[edit]

I think that the Hello World example for Pascal is wrong.

In order to work, it must have a USES {basic unit} statement, like this:

program HelloWorld; uses crt;

begin

 WriteLn('Hello world!');

end.

Maybe I'm confused. --Marcsances (talk) 09:18, 5 August 2011 (UTC)

No, it doesn't Crt is used in Borland Pascal and variants for color and cursorpositioning, but not for stdout.

It should have a program line though with parentheses (. In original Pascal (as opposed to Borland) that was mandatory.

program Helloworld(input,output); 88.159.71.34 (talk) 18:18, 6 January 2014 (UTC)

Subtle bias at work[edit]

Hmmm...two assembly language examples, both running on Microsoft operating systems and hence x86 MPUs. At one time, I recalled several other assembly language examples being presented—and not for Intel hardware. Can we be a little less biased here?

Bigdumbdinosaur (talk) 05:39, 15 October 2011 (UTC)

Mess at Wikibooks[edit]

This is absolutely nothing compared to the horrid mess at Wikibooks. It looks like someone tried to organize it but it's a junkyard, and most talk posts aren't even sined :o Waterfalls12 (talk) 02:39, 24 April 2012 (UTC)

I beg to differ; I regularly sin while writing my posts. 69.249.227.39 (talk) 01:48, 30 November 2012 (UTC)

HTML[edit]

While I understand that keeping text on a page within divs or P tags is generally considered a good idea, and that those who don't generally should be pelted with rotten fish, the P tags in the example are not strictly necessary to create a page that says "Hello World" (i.e., a workable example page). I'm going to remove those tags, but if anyone disagrees, of course feel free to revert it. Also, in case anyone's wondering, I edited my own comment because it parsed the code I wrote.69.249.227.39 (talk) 01:48, 30 November 2012 (UTC)

Hello World String[edit]

The obsession with the standard of "Hello, world!" on this article is ignorant and mindless. I have known many, many programmers over my career and ever single one understand that a Hello World program contains the text "HELLO WORLD" or "Hello World!". This may vary for languages and is NOT a constant, therefore the obsessive standard is insulting to experienced programmers. How do others feel? TehOwn (talk) 09:19, 27 March 2013 (UTC)

It's trivial, which is a good reason to just be consistent. Since (I think), all examples use "Hello, world!", then all examples should do that. The fact that some document somewhere does it differently for a particular language is not a good reason for this page to use a different style for one language. K&R uses "hello, world", but it would be silly to make the C example different from all the others. Johnuniq (talk) 09:33, 27 March 2013 (UTC)
I agree with User:Johnuniq standards are important. A hello world program is something that works on all articles and should be a consistent standard through language because it is an important starting point and a good comparison of programming languages. — Preceding unsigned comment added by 124.171.73.88 (talk) 11:11, 27 March 2013 (UTC)

Your arguments are like saying that grammar differences between spoken/written languages should be ignored just so that an article can be uniform. No such "Hello World" or "Hello, world" standard exists. By enforcing it on the wiki, you are simply leaving out important data. There are key differences between languages. These nuances are often unknown by novice programmers. If we included LOLCODE, would we put "Hello, world!" instead of "HAI WORLD!"? No, we wouldn't, because no-one would use "Hello, world" in that context. Also, there's already too many inner citations within Wikipedia as it is, so if you want to prove that industry veterans use "Hello, world!" you'd better link to their websites. Since K&R was apparently the first instance of "hello, world" then why is it capitalized here? Why, "Hello, world!"? Where did the ! come from? This is so trivial and the issue is not simply about the article but of the general attitude on Wikipedia of preserving incorrect data due to it being "popular". TehOwn (talk) 11:21, 27 March 2013 (UTC)

FYI, if you want to enforce the standard, you need to fix the brainfuck example. TehOwn (talk) 11:50, 27 March 2013 (UTC)