September 8: Hello, World

Tracing back to 1974, “Hello, World” is often the first program written by those learning to code.

Source: Hacker Rank
Published: April 2015

Hello, World

Hello, World” is often the first program written by people learning to code. It lets programmers know that their code can compile, load, run, and output.

The origin traces back to a Bell Laboratories memo written by Brian Kernighan in 1974. Here’s what the code looks like in some programming languages currently in use.

C#

using System;
class Program
{
public static void Main(string[] args)
{
Console.WriteLine(“Hello, world!”);
}
}

Python

print(“Hello, world!”)

Java

class HelloWorld {
public static void main(String[] args) {
System.out.println(“Hello, world!”);
}
}

------------

Did you appreciate the fact today?

Yes   |  No