DEV Community

loading...
Cover image for Hello World !!!

Hello World !!!

premashish profile image PGNITH ・3 min read

Good Day, Everyone! This is my first blog on Dev.to. I'm very enthusiastic about the prospect of writing this blog. Yesterday I was Learning Next.js on YouTube and all of a sudden, a thought surfaced upon my Mind: Why do We write the hello world program as our First Ever program in almost all of the programming languages. Well, like most people around I was also perplexed with this question. And to pacify my curious mind I decided to google it. And the results that I discovered were really amazing and were beyond my conjecture. As a result, I decided to share my findings with all of you.

What is a "Hello World !!" Program?

A computer Program that produces or shows the message "Hello, World!" is known as a "Hello, World!" Program. In most programming languages, such a Program is very simple, and it is often used to demonstrate a programming language's basic syntax.
It is often the primary Program that folks learning to code write. It also can be used as a stability checker to make sure that a programming language has been Program properly and whether the user knows the way to use it or not. When programmers see the two terms on the screen, they know that their code will compile, load, and run, and that they can see the results.

Here's how two of programming's most well-known words got their start:

"Hello, World" was developed by Brian Kernighan, author of "C programming language," one among the foremost widely read programming books. He first mentioned ‘Hello World' in the book published next to the book called "The C programming language": A Tutorial Introduction to the programming language B published in 1973.

void main() {
printf("Hello, World\n");
}

Surprisingly, even the legend can't say for sure when or why he chose the words "Hello, World." In an interview with Forbes India, he said his memory is hazy when asked what inspired the name "Hello, World!" and He said

“What I do remember seeing is a cartoon of a chick and an egg saying, “Hello, World,” he replied.

Despite the fact that no one can understand why “Hello, World” became so popular, the “Hello, World” Program represents a significant shift in the historical rhetoric of programming.

Hello world's historical background

Before the late 1970s, computer scientists Program with stacks of punch cards! Computers were regarded as inaccessible, sophisticated, and prohibitively expensive computers reserved for the academic, defence, and government elites.

In the 1950's, The first industrial computers for arithmetic operations were introduced. However, buying one would cost a lot of money.
The majority of programming language books on earlier programming languages, such as FORTRAN or BASIC, started by showing that computers are still useful from an intellectual perspective.
According to Mount, "Hello, World's" enormous popularity deprived computer scientists of the burden of demonstrating that machines are useful to humanity. “Hello World” Program didn't really take off until the C programming language was introduced. It was only after the introduction of C language that "Hello, World" became so popular.

Applications

Time to Hello World!
The "Time to Hello World!" Program is the amount of time it takes to write a "Hello, World!" message Program in a given programming language. A more complex "Hello, World!" Program may imply that the programming language is more difficult to learn. As the Program is intended as an introduction for those unfamiliar with the language, a more complicated "Hello, World!" Program may imply that the programming language is less congenial.

Conclusion

Today, the Word 'Hello World' is by far the most well-known Computer Program. Any Program finds this program the first time they typed "Hello World" to be a watershed moment in their career. Many people are unaware that every time a Program feels the sweet satisfaction of solving the first challenge in computing by typing "Hello World," they are experiencing a transcendent moment.

Discussion (0)

Forem Open with the Forem app