Mar22


Origin of Hello World image

As this is the first article of myPHPnotes, I decided to start it with a "hello, world" article.  In this article, we shall see

  • Origin of Hello World
  • The Correct Hello World

Let's begin. 

Origin of Hello World

Actually, It's all started with B. The first known version of the hello world program is found in A Tutorial Introduction to the Language B  by BW Kernighan in 1972.

Brian Kernighan : Father of php
Brian Kernighan

 

It is found at page number 4 under the seventh topic "External Variable".

main( ) {
extrn a, b, c;
putchar(a); putchar(b); putchar(c); putchar(’!*n’);
}
a ’hell’;
b ’o, w’;
c ’orld’;

 Although in an interview with Forbes, Kernighan said that the idea of the phrase "hello, world" came just came from cartoon picture in which a chick saying to the egg, "hello world" repeatedly. At that time, computers are considered as the super complex devices ever existed in human history, although at that time there is no touch screen but punching cards. Therefore, to welcome the beginners to understand such complex machines, the "hello, world" first used.

The correct 'Hello World'

As we know till now, the "hello, world" program is the concept of 1972, as the time passes there are thousands of programming languages came into the existence and dumped into their graves. With such the enormous evolution of computers and its languages, the form of the first hello world phrase changes.

The following are some forms of hello world phrase:

  1. Hello world
  2. Hellow world
  3. hello world
  4. Hello World!
  5. hello world!
  6. and much more.

But none of above is exactly matched by the first one. The exact phrase which was used first-ever is 

hello, world

You may see this, there is no uppercase letter in it, no exclamation mark etc. which adultered it in this era.

Note: We do not say it is wrong to use exclamation marks etc. into your program but we just wanted you to know that it is not as that it started.


|0 |72

Ads By Google - Turn it Off

Ads By Google - Turn it Off

Leave a Comment


gfhdg