Sitemap

Hello, Blog

1 min readJan 5, 2020

--

Once again, I’ve switched blogging platforms.

I’ve switched between {WordPress, Ghost, Jekyll, Medium, Hexo} and now this is Medium

So…

Hello, World!

Lets try to make a bunch of “Hello, world” programs in as many languages as I can 🙃

Let’s start with my favourite language, JavaScript

console.log(“Hello, world”)

Or,

document.write(‘Hello, world’)

Onto the next few language

C

#include <stdio.h>
int main() {
printf(“%s”, “Hello, world”);
return 0;
}

C++

#include <iostream>int main() {
std::cout << “Hello, world” << std::endl;
return 0;
}

Go

package mainimport “fmt”func main() {
fmt.Println(“hello world”)
}

Back to some concise syntax

Get Fahad Hossain’s stories in your inbox

Join Medium for free to get updates from this writer.

Python

print(“Hello, world”)

Haskell

main::IO()
main = putStrLn “Hello, world”

ReasonML

Js.log(“Hello, world”);

Now, the piece de resistance,

My least favorite ones

Java

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

C#

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

PHP

<?phpecho “Hello, world”;

That’s about all I could think of. This post is nothing but a test to see what a blog post looks like in Postach.io

Press enter or click to view image in full size
Photo by Patrick Fore on Unsplash

Peace ✌️

--

--