Hello World in 5 Programming Languages
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.
Hairlip Steve says
....solid joke"you shouldn't make fun of people by talking with a lisp"
I am currently learning to program. Just into javascript at the moment. The more I learn, the more I love it. Simple and powerful.