1001 way to say “Hello World” to the world

1001 !? Well not exactly. Unless you’re counting all kinds of languages. 

Sorry to those expecting to read some marvelous tales. But we’re going to  focus here on programming languages whose number can reach an honorable 600.

Yes, at least 600 ways to say “Hello world” . That’s not so bad.

It is astonishing that in around 70years of programming development the human brain came out with that many languages, which equival approximately 10% of “human spoken languages”  known (without counting local dialect). 

As for any spoken languages, some programming ones are exceptionally rare, locally used , extinct. 

Some are trendy, handy  and some others used in particular contexts. 

And we could be able to track their origin , make their genealogy . 

In short, Languages are languages.

So let’s take an overview about how to say “hello” within the binary world, with some of the most popular program languages , current and past.

PASCAL

Program HelloWorld(output);
begin
  writeln('Hello, world!');
end. 

FORTRAN

program hello
  Print *, "Hello World!"
end program Hello 

COBOL

IDENTIFICATION DIVISION.
PROGRAM-ID. HELLO-WORLD.
PROCEDURE DIVISION.
DISPLAY 'Hello, world'.
STOP RUN.

C++

#include <iostream>

using namespace std;

int main()
{
  cout << "Hello World" << endl; 
  return 0;
}

PHP

 <?php
     echo "Hello World";
?> 

Python

print "Hello World"

Java

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

Dart

 void main() {
    print('hello World');
} 

 

To end this overview of Hello world, let’s take a last look at one (maybe the most) funny language : the LOLCODE . 

Also declined into a DOGECODE, based on the now famous dog’s breed : shiba inu. 

I’m sure you know it, as it is super trendy lately with the $DOGECOIN.

BTW Hello World in LOLCODEHAI 1.2
  CAN HAS STDIO?
  VISIBLE "HAI WORLD!!!1!"
KTHXBYE

To be honest, the world of programming is full of those Crazy languages. 

It was hard to choose the funniest between the LOLCODE and the Intercal Language , the Chef , the Chicken or the Whenever Language.

Who said programming is not fun and doesn’t give you a good laugh !?

Tell us about you in the comment section!

Do you remember the first “hello world” you have ever printed on a screen ? 

Which language have you used ?

The LOLCODE -> @lolcode.org
Hello world database collection -> @helloworldcollection.de

PAGE TOP