Fact of the Day 1

Share this post
September 8: Hello, World
www.factoftheday1.com

September 8: Hello, World

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

Danny Sheridan
Sep 8, 2020
Comment
Share

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

CommentComment
ShareShare

Create your profile

0 subscriptions will be displayed on your profile (edit)

Skip for now

Only paid subscribers can comment on this post

Already a paid subscriber? Sign in

Check your email

For your security, we need to re-authenticate you.

Click the link we sent to , or click here to sign in.

TopNewCommunity

No posts

Ready for more?

© 2022 Fact of the Day 1
Privacy ∙ Terms ∙ Collection notice
Publish on Substack Get the app
Substack is the home for great writing