Where Does Hello World Come From?

Where Does Hello World Come From?

A “Hello, World!” program is a computer program that outputs “Hello, World!” (or some variant thereof) on a display device. Because it is typically one of the simplest programs possible in most programming languages, it is by tradition often used to illustrate to beginners the most basic syntax of a programming language. It is also used to verify that a language or system is operating correctly.  -Wikipedia

“Hello, World!” was the first term that teachers and programmers used to help display a phrase while teaching people how to use and develop computer programs.  It has its own classification of computer programs that are the simplest form of any language or script used to print “Hello World”.  This is why your first blog post in WordPress is always titled “Hello World”. We found detailed information on Wikipedia explaining the significance of Hello World. Quora and Stack Overflow are also great resources to learn more.

But before you read whats below you should read this pretty funny “hello world” joke. gotta love geeks

Hello world source from Wikipedia

While small test programs existed since the development of programmable computers, 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,which contains the first known version:

main( ) {
printf(“hello, world”);
}
The C version was adapted from Kernighan’s 1972 A Tutorial Introduction to the Language B,

[2] where the first known version of the program is found in an example used to illustrate external variables:

main(){
extrn a,b,c;
putchar(a); putchar(b); putchar(c); putchar(‘!*n’);
}

a ‘hell’;
b ‘o, w’;
c ‘orld’;
The program prints “hello, world!” on the terminal, including a newline character. The phrase is divided into multiple variables because in B, a character constant is limited to four ASCII characters. The previous example in the tutorial printed “hi!” on the terminal, so the phrase “hello, world!” was originally introduced as a slightly longer greeting that required several character constants for its expression.

It is also claimed that[by whom?] “hello, world” originated instead with BCPL (1967).This claim is supported by the archived notes of the inventors of BCPL, Prof. Brian Kernighan at Princeton and Martin Richards at Cambridge.

2018-01-23T11:57:44+00:00