Skip to main content

Hello World in 30 Programming Languages (Part 1)

How many programming languages do you think you know? Think a lot?
Let's Check that out...

1. C: The Mother of all modern programming languages

Logo of C programming language
C

Developed by: Dennis Ritchie
Developed in: 1972
HelloWorld.c
#include<stdio.h> int main(void){ printf("Hello World!"); return 0; }

2. C++: The Mother's still young and charming daughter

Logo of C++ programming language
C++ (C Plus Plus)
Developed by: Bjarne Stroustrup
Developed in: 1985
HelloWorld.cpp
#include<iostream> using namespace std; int main(){ cout << "Hello World!"; return 0; }

3. C#: The Daughter's quite similar friend

Logo of C# programming language
C# (C Sharp)
Developed by: Anders Hejlsberg and Mads Torgersen
Developed in: 2000
HelloWorld.cs
using System; namespace HelloWorldApp{ class HelloWorld{ static void Main(strings[] args){ Console.WriteLine("Hello World!"); } } }

4. COBOL: It's Business Class

Developed by: US Department of Defense
Developed in: 1959
HelloWorld.cbl
IDENTIFICATION DIVISION. PROGRAM-ID. Hello-World. PROCEDURE DIVISION. DISPLAY "Hello World!". STOP RUN.

5. HTML: Get Hyper for this text

Logo of HTML programming language
HTML
Developed by: Tim Berners Lee, later WHATWG
Developed in: 1993
HelloWorld.html
<!DOCTYPE HTML> <HTML> <HEAD> <TITLE>Hello World!</TITLE> </HEAD> <BODY> <P>Hello World!</P> </BODY> </HTML>

6. Javascript: Putting life into your web frontend

Logo of JavaScript programming language
JavaScript
Developed by: Brendan Eich
Developed in: December 4, 1995  
HelloWorld.js
<!DOCTYPE HTML> <HTML> <HEAD> <TITLE>Hello World!</TITLE> <SCRIPT>document.write("Hello World!")</SCRIPT> </HEAD> <BODY> </BODY> </HTML>

7. ALGOL: The language of Algorithms

Developed by: Association of Computer Machinery
Developed in: 1958
HelloWorld.alg
BEGIN DISPLAY("Hello World!") END.

8. Delphi: Rapid Application Development


Developed by: Borland, CodeGear and Embarcadero Technologies
Developed in: 1995
HelloWorld.dpr
program HelloWorld; {$APPTYPE CONSOLE} begin WriteLn('Hello World!'); end.

9. LOGO: Time to go turtles

Developed by: Bolt, Beranek and Newman
Developed in: 1967
HelloWorld.lgo
print [Hello World]

10. LISP: If you love Parentheses

Developed by: Steve Russell, Timothy P. Hart and Mike Levin
Developed in: 1958
HelloWorld.lsp
(print "Hello World!")

Part 2 >

Comments

Popular posts from this blog

3 best Minecraft-like free games for Android

Building and Crafting Games have been on a lot of people's favourites list, since the earliest days of gaming, from Minetest to Microsoft's Minecraft in it's various editions. But a lot of people don't have the opportunity to play Minecraft, majorly due to being unable to buy it. So, today I've got for you one of the few best minecraft-like games for you to enjoy on your own Android phones. 1. LokiCraft This game on the Play Store is available to freely download and play. Though it doesn't feature a multiplayer mode, the offline single player gameplay isn't bad. This game packs a lot to be discovered. Download Link: https://play.google.com/store/apps/details?id=com.ua.building.Lokicraft It has another version, Lokicraft 2. Download Link of 2nd Version: https://play.google.com/store/apps/details?id=com.ua.magicgames.artstudio.lokicraft2 But just beware of any other games that have similar names, like Lokicraft 3 or Lokicraft New Crafting Game, etc, etc. 2. Mu...

Hello World in 30 Programming Languages (Part 2)

How many programming languages do you think you know? Think a lot? Let's Check that out... This post is the second part of a bigger series, if you haven't read the first part, do so here . 11. BASIC: Let's begin with the basics Developed by: John G. Kemeny and Thomas E. Kurtz Developed in: May1, 1964 HelloWorld.bas CLS PRINT "Hello World!" END 12. Java: Just have a sip! Java Developed by: James Gosling and Oracle Corp. Developed in:  May 23, 1995 HelloWorld.java public class HelloWorldApp { public static void main(String[] args) { System.out.println("Hello World!"); } } 13. GDScript: Go, go Godot! GDScript Developed by: Juan Linietsky and Ariel Manzur Developed in:  14 January, 2014 HelloWorld.gd extends Node2D func _ready (): print ( "Hello World!" ) 14. Lua: Powerful, fast, lightweight, embeddable scripting language Lua Developed by: Roberto ierusalimschy, Waldemar Celes and Luiz Henrique de Figueiredo Develope...

Bhailang - The language by and for Indian bros!

 Hi folks! If you ever get bored of the same, everyday, hard-coded keyword coding style, take a look here - - a toy language created by two Indian 'bros' - Aniket Singh from Amazon and Rishabh Tripathi from Groww. The language combines "Bhai", a word in Hindi for 'brother' and "lang", short for 'Language', popular in the coding culture, to derive it's name. The developers said "Bhailang" came up as idea from an insider joke. Syntax It is written in TypeScript, and has it's own well-defined syntax, but every statement contains the word 'bhai'. The programs of bhailang begin with a "hi bhai" statement and end with "bye bhai". Bhailang (Source: bhailang.js.org) Keywords Bhailang uses keyword in Hindi language for it's purpose of programming. Numbers and strings are used and created like other languages. While, Boolean values of True and False are represented by "sahi" and "galat...