Though I have used the phrase to greet as a welcome to my personal website, I’m absolutely sure you have come across this phrase before, either in the code for programmers or the internet for the none programmers.
But where does it come from? Today I would like to shade some light about this popular two words sentence, the Hello world!
According to Wikipedia, the phrase was first used recently in 1967 in the BCPL programming language as is claimed by Jargon File. Click here to read the Hello world history on Wikipedia. When programmable computers were invented it gave programmers the opportunity to code and print outcomes on the user’s screen. Thus Hello world! got the chance.
Hello world! Is often used by programmers especially in the early stages of learning a programming language and to test the programming language’s ability to handle sentences technically known as strings. See examples below.
Shell programming.
#!bin/bash
echo "Hello world!"
C programming
main( ) {
printf("Hello world!");
}
Most programming languages which have the capability of showing characters on the screen, often use the code which introduces printing. So that the programmer can test their ability to use a particular programming language to print a message on the terminal(command line or cmd or console) or other user interfaces.
However the phrase is not exclusive to programming/coding alone, everyone can use it.
I'm glad to present about "deserving to be there at the top" at the first…
A forEach loop is one of the most optimized JavaScript Higher-Order functions that make it…
In recent years, the biggest number of people I have met are characterized by the…
I promised to share my thoughts in any possible way. In fact, am happy to…
Hey beloved, Once in a while, I develop thoughts in my head, and instead of…
I remember in primary school, I had different interests compared to the ones I have…
View Comments
Just reminded me my first encounter to Hello World. I was in first semester at Uni and a lecture told us things to do with studio.h, conio.h and some others i don't remember. At the end of the day, we were printing F which doesn't appear but only see hello world.
I guess you now what i mean.
But most embarrassing, me working on a black dark window with text either in white or green. As beginners, we didn't deserve that.
Long story short, mbu we were learning programming and being introduced to C. How i wish the likes of David only attended those classes.
Let me go design.
It's interesting you went through experience. If I do some design you can do some code... hahahaha
Thanks for taking the time.