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)– DarknightMar 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 ?– PheonixJul 15, 2013 at 10:28
2 Answers
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...
-
2
-
+1 for Wikipedia's content, but i always believe "Hello World" was author's (Programming authors) stuff rather than any language's specific.– RangerMar 21, 2011 at 11:50
-
8:P same article says "Hello World" was first used in B in 1972 rather than C 1974.– RangerMar 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 SMar 21, 2011 at 12:48
-
3
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.