Hello World!

I'm so excited to meet you.

- 2 mins

Hello World

A short story.

ME: Dear world, I have heard about you.
    I heard you are so complex.
    It's finally nice to meet you one on one.
    How do i go about being your friend?

WORLD: Here's a few way to get started.    

Hello world in C

#include <stdio.h>
int main(){
    printf("Hello, World! \n");
    return 0;
}

Hello world in C-Sharp

using System;
namespace HelloWorldApplication{
    class HelloWorld{
        static void Main(string[] args){
            Console.WriteLine("Hello World!");
            Console.ReadKey();
        }
    }
}

Hello world in C++

#include <iostream.h>
int main (){
    cout << "Hello World!";
    return 0;
}

Hello world in GO

package main
import "fmt"
func main (){
    fmt.Println("Hello World!")
}

Hello world in HTML

<h1>Hello World!</h1>

Hello world in Java

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

Hello world in Javascript

document.write("Hello World!");

Hello world in Php

<?php
    echo "Hello World!";
?>

Hello world in Python

#!/usr/bin/env python
print "Hello World!";

Hello world in Ruby

puts "Hello World!";

Even though there are hundreds of programming languages out there, if you will ever learn programming, you'll probably learn one of the above. Every language has it's pros and cons, so an hello world program does not necessarily define all the features and complexity or simplicity of the language.

Just incase there's a popular language I left out, leave me a message on my Twitter and I'll include it.

comments powered by Disqus
rss facebook twitter github youtube mail spotify lastfm instagram linkedin google google-plus pinterest medium vimeo stackoverflow reddit quora quora