Talk:Hello, world!

From Wikiversity
Jump to navigation Jump to search

This is only a modest introduction, and I look forward to seeing some incredible content which is sure to come from every part of the world very soon. --jlguinn 01:43, 19 August 2006 (UTC)

Todo: Hyperlink the languages and platforms to existing Wiki articles



This page already exists on wikipedia: WikiPedia:List_of_hello_world_programs It's not very educational, just interesting for people who are curious.

"Create a Hello, world! program in a language not listed above, then edit this page and add it to the collection." <-- this may not seem "very educational" but it is a traditional way for people to start learning a programming language. --JWSchmidt 23:11, 27 September 2006 (UTC)[reply]

Request for deletion[edit source]

This page was proposed for deletion on September 27, 2006. The result of the discussion was keep.

This page already exists on wikipedia: WikiPedia:List_of_hello_world_programs -- DouglasHolton 22:53, 27 September 2006 (UTC)[reply]

The Wikipedia page and the Wikiversity page are similar, but they do not have exactly the same content. The Wikiversity page seems to have educational value and will probably become increasingly unique and integrated with Wikiversity pages that will deal with learning various programming languages. It seems to me that it would be disruptive to delete this page. --JWSchmidt 23:05, 27 September 2006 (UTC)[reply]
Keep: Hello, World! programs are programs for learning, right? This page will probably be a jump-off to those materials later, and it's good to have an explanation about what it is. --SB_Johnny | talk 00:45, 28 September 2006 (UTC)[reply]
Keep it, for the reasons above. This is a learning experience, not an encyclopedia article.--digital_me 02:18, 28 September 2006 (UTC)[reply]
Keep - this page serves an important purpose as a reference for various programming courses on Wikiversity. --Draicone (talk) 02:30, 28 September 2006 (UTC)[reply]

keep this !!

kept, clear discussion outcome
-- sebmol ? 23:23, 2 October 2006 (UTC)[reply]

Shebangs...[edit source]

Why a shebang on the Python version when there are none on, for instance, Perl and Ruby? 213.237.93.201 17:11, 4 October 2006 (UTC)[reply]

No idea. I've gone ahead and removed them.--digital_me 21:50, 4 October 2006 (UTC)[reply]
Hey, yeah you need the Shebang to make it work. I've already linked to the Perl Hello, World! from Topic:Perl and added the #! shebang line. Please leave it on there if you don't mind. :) CQ 22:15, 10 October 2006 (UTC)[reply]
You only need the shebang if you're running it from the command line like "bash$ script.py" instead of "bash$ python script.py".--digital_me 02:15, 11 October 2006 (UTC)[reply]

missing python line[edit source]

On the python example of Hello World it says that the first line is optional and only needed if you want to invoke the interpreter automatically. What first line? Someone's removed it without regard to the explanation below it. The only line is print "hello world". BillK oct 10, 2006

It's called a "shebang", and it looks like "#!/bin/python". Basicly, it tells your shell that you can find the program it's supposed to use to execute the script at the path given after the "#!". See my above comment for more info.--digital_me 02:16, 11 October 2006 (UTC)[reply]

Language standards?[edit source]

I've noticed that C++ has two hello world programs, and the second one is obviously not standard C++. Main has a void return type when it should be int. The #include <iostream.h> is not standard, there should be no .h when including standard libraries, and for some reason Borland's implementation of iostream.h puts 'cout' and 'endl' in the global namespace instead of the 'std' namespace. So, while Borland allows non-standard C++, as do many compilers, this page is about languages and I think we should only have standard language examples. Is there any reason not to? --Poleary 21:15, 8 November 2006 (UTC)[reply]

I added a new language[edit source]

I was bored, so I used startingpage.com to find a new programming language. The language I found is called "Alef++". More info @ alefpp.sourceforge.net.--Lawlolawland 01:11, 16 December 2010 (UTC)[reply]

Guidance on selecting a programming environment.[edit source]

This can become a more useful instructional tutorial if guidance on selecting an simple programming environment can be provided for each example, and enough guidance is provided so that the student can actually compile and run each example program. It will also be helpful if this can be used as a short overview of several (popular) languages to assist a novice programmer in selecting a programming language, and beginning to understand how various languages differ. --Lbeaumont (discusscontribs) 13:50, 12 August 2017 (UTC)[reply]

What you are suggesting already exists in Computer Programming. -- Dave Braunschweig (discusscontribs) 19:50, 12 August 2017 (UTC)[reply]