Hello World in 5 Programming Languages

in #blog7 years ago (edited)

Screen Shot 2017-06-10 at 4.03.56 pm.png

I've been working as a software engineer for the last 10 years. Writing or looking at software codes is nothing new for me. But I've always wondered about how non-coding folks perceived the art of programming.

The future we're headed into is incredibly exciting. I'm quite convinced that blockchain technology will lead the way. However, the bar has been set higher now. You cannot understand the details of blockchain technology without understanding cryptography. Traditionally that has not been the case.

A Hello World program is the absolute minimum working example of a program in a given language. It's what most beginners write on the first day of their coding class in universities.

Here are the Hello World in 5 programming languages.

C++

#include <iostream>

int main()
{
  std::cout << "Hello World!";
}

Fun fact: Did you know that the core SteemIt source code is written in C++?

Javascript

console.log("Hello World");

Fun fact: The creator of Javascript - Brendan Eich is one of the founders behind the Basic Attention Token ( BAT ).

Golang

package main

import "fmt"

func main() {
    fmt.Println("hello world")
}

Fun fact: Ken Thompson - One of the co-creators of Golang, is also the principal inventor of the Unix operating system.

Lisp

(print "Hello World")

Fun fact: There's a famous saying called Greenspun's tenth rule - Any sufficiently complicated C or Fortran program contains an ad-hoc, informally-specified, bug-ridden, slow implementation of half of Common Lisp.

Java

public class HelloWorld {

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

}

Fun fact: Android - the world's most common mobile operating system is built on Java.

Sort:  

Hairlip Steve says
"you shouldn't make fun of people by talking with a lisp"

....solid joke

I am currently learning to program. Just into javascript at the moment. The more I learn, the more I love it. Simple and powerful.

Coin Marketplace

STEEM 0.16
TRX 0.15
JST 0.030
BTC 58889.18
ETH 2514.47
USDT 1.00
SBD 2.47