DEV Community

Fahad Hossain
Fahad Hossain

Posted on • Originally published at fa7ad.postach.io on

2 1

Hello, Blog!

Once again, I’ve switched blogging platforms.

I’ve switched between {WordPress, Ghost, Jekyll, Medium, Hexo} and now this is Postach.io (or dev.to)

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")
Enter fullscreen mode Exit fullscreen mode

Or,

document.write('Hello, world')
Enter fullscreen mode Exit fullscreen mode

Onto the next few language

C

#include <stdio.h>





int main() {

 printf("%s", "Hello, world");

 return 0;

}
Enter fullscreen mode Exit fullscreen mode

C++

#include <iostream>

int main() {

 std::cout << "Hello, world" << std::endl;

 return 0;

}
Enter fullscreen mode Exit fullscreen mode

Go

package main

import "fmt"





func main() {

 fmt.Println("hello world")

}
Enter fullscreen mode Exit fullscreen mode

Back to some concise syntax

Python

print("Hello, world")
Enter fullscreen mode Exit fullscreen mode

Haskell

main::IO()

main = putStrLn "Hello, world"
Enter fullscreen mode Exit fullscreen mode

ReasonML

Js.log("Hello, world");
Enter fullscreen mode Exit fullscreen mode

Now, the piece de resistance,

My least favourite ones

Java

public class HelloWorld {

 public static void main (String[] args) {

 System.out.println("Hello, world");

 }

}
Enter fullscreen mode Exit fullscreen mode

C#

using System;



namespace HelloWorld {

 class Program {

 static void Main(string[] args) {

 Console.WriteLine("Hello, world");

 }

 }

}
Enter fullscreen mode Exit fullscreen mode

PHP

<?php

echo "Hello, world";
Enter fullscreen mode Exit fullscreen mode

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

Peace ✌️

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs