arrow_upward
Hello World
#1
why the first of our program when learning all of programming language is "Hello World"?
is it the rule of the programming laerning?



#2
maybe because its your first program comming to life and you're introducing it to the world??



[+] 1 user Likes biggiechungus562's post
#3
Because it's very simple and complete program. It requires almost no knowledge of anything programming related, you put in text "here", the computer show you the text you put in "there".
Then you can store it as a variable and pass it to the function introduce functions, variables and parameters etc.
Maybe you want to change it from text to numbers, you can introduce operators and types etc.
And while doing things like that you can verify the correct output from the simple "Hello World" thing you learned first, no need for "advanced" debugging, "Hello World" part will shows you the result of your program.
As for the text itself I think "Hello World" is simple stupid enough not to be confused with the rest of the code and can be understood without explanation.



[+] 2 users Like yunkaje's post
#4
Its almost like adam and eve in a way, you just create something new , as if you've invented a new species in your image



[+] 1 user Likes CreaToN105x's post
#5
Everything yunkaje said, and it's tradition



[+] 1 user Likes cmburns2's post
#6
It's a programming law. Follow it or the code-police will throw you in the slammer for life.



#7
It's one of the big mysteries of life that we don't question, just accept.



#8
It's a tradition because it's a simple, complete program that illustrate's a language's syntax and one of the basic features of any language: output.

It's easy to copy as an example without any experience, and when the executable is run, it's easy to look at the output and figure out what the program itself does, allowing users to start learning the syntax inductively.

As to why the specific phrase “Hello World!” is used? I assume it's because the program “comes to life” for the first time in the novice programmer's eyes, and such a greeting is fitting.



#9
The first instance of a hello world is apparently written in a programming language called BCPL by the author of that language in 1967 (or the language was started in 1967). BCPL is the predecessor of C.

It has since become a tradition to write hello world in any language



#10
Hello World is like an initiation into the life of breathing your future code into the world.



[+] 1 user Likes jaaunaa111's post
#11
a tradition, it's the first thing post on internet