< 1 min read

Hello world!

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!

The history

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.

Usage

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.

Sharing is caring

Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
LinkedIn
Share on whatsapp
WhatsApp
Share on email
Email

You may also like this

When not to use a forEach loop in JavaScript

A forEach loop is one of the most optimized JavaScript Higher-Order functions that make it one of the preferred functional programming languages. What is a Higher-Order function? It is a function which takes in another function (also called a callback)

Read More »
Thoughts

You are not about to die poor.

In recent years, the biggest number of people I have met are characterized by the following;- Lazy Not ready Entitled Ignorant Dishonest Inconsistent It sounds unfortunate, that most probably you will meet people of similar characteristics or more if you’ve

Read More »
Thoughts

Thoughts on 13-06-2019

I promised to share my thoughts in any possible way. In fact, am happy to be honoring you, my readers, that today by sharing something that could be life changing to some. Please, I request you to converse through the

Read More »
Thoughts

A beautiful thought for 29-05-2019

Hey beloved, Once in a while, I develop thoughts in my head, and instead of keeping them to myself I’ve decided to share them. Who knows who it will help? By the way, at the bottom of the post, is

Read More »