Which programming language first introduced 'Hello World' as a first program to code for beginners?
-
10On an related question, the first programming language that introduced "Good bye cruel World" was Java ;) (I'm kidding)Darknight– Darknight2011年03月21日 13:02:51 +00:00Commented Mar 21, 2011 at 13:02
-
2How does this question contribute anything or is use full ? and How does it shows "research efforts" when clearly answers cite wikipedia ?Pheonix– Pheonix2013年07月15日 10:28:47 +00:00Commented Jul 15, 2013 at 10:28
2 Answers 2
The history section of the Wikipedia article indicates it came from C.
...the tradition of using the phrase "Hello, world!" as a test message was influenced by an example program in the seminal book The C Programming Language. The example program from that book prints
"hello, world"
(without capital letters or exclamation mark), and was inherited from a 1974 Bell Laboratories internal memorandum by Brian Kernighan, Programming in C: A Tutorial...
-
2Had a feeling it might have been C. ;)TeaDrinkingGeek– TeaDrinkingGeek2011年03月21日 11:49:11 +00:00Commented Mar 21, 2011 at 11:49
-
+1 for Wikipedia's content, but i always believe "Hello World" was author's (Programming authors) stuff rather than any language's specific.Ranger– Ranger2011年03月21日 11:50:36 +00:00Commented Mar 21, 2011 at 11:50
-
8:P same article says "Hello World" was first used in B in 1972 rather than C 1974.Ranger– Ranger2011年03月21日 11:52:44 +00:00Commented Mar 21, 2011 at 11:52
-
2B and C aren't different versions of the same language; C was a new language based on B.Jason S– Jason S2011年03月21日 12:48:47 +00:00Commented Mar 21, 2011 at 12:48
-
3It originated in Kernighan's B tutorial.greyfade– greyfade2011年03月21日 15:57:56 +00:00Commented Mar 21, 2011 at 15:57
The convention was introduced for the general public in K&R - Kernigan and Richie: The C Programming Language - which is the canonical introduction to C. That book became the canonical because it was succinct reflecting in its thinness.
The updated version covering ANSI C is worth reading simply for their approach to writing documentation.