History of "Hello, World!" Program?

Why 'Hello, World' is the first program awarded to a programmer?

History of "Hello, World!" Program?

What is "Hello World!"?

It is the most famous and the first program, that every programmer writes while learning any new programming language. As a code, this program simply tells the computer to display the words "Hello, World".

Occasionally, it is the first program that developers write to test the code. If the program gets compiled and runs correctly the output will display the "Hello, World!" code.

As time flew by, now it has become a non-decided tradition. All programmers had witnessed the magical adrenaline after their first "Hello, World!" program ran successfully.

let's see how these two magical worlds in the history of programming begin:

History

Where does ‘Hello World’ come from?

brian.gif

The author of the widely read book "C Programming Language", Brian Kernighan is known as the creator of the "Hello, World" program, in 'A Tutorial Introduction to the Programming Language B' published in 1973, the predecessor of "C Programming Language" book, we find the first known version of the "Hello, World" program.

main( ) {
    extern 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.

Why "Hello, World"?

Unfortunately, the Canadian computer scientist says he can’t definitely define when or why he chose the words “Hello, World.”

At the time, Kernighan would not believe that the research project inside Bell Labs, the research and development branch of AT&T would be a monument in the field of programming.

"Hello, World!" program by Brian Kernighan (1978) in C language.

code.jpg source:upload.wikimedia.org/wikipedia/commons/thum..

Examples of 'Hello World' :

C language :

#include <stdio.h>

int main() 
{
  printf("Hello, World!\n");
  return 0;
}

C++ language :

#include <iostream>

int main() 
{
  std::cout <<  "Hello, World!\n";
  return 0;
}

Java :

public class Main {
 public static void main(String[] args) {
    System.out.println("Hello, World!");
  }
}

Python :

print("Hello, World!")