On this documentation page you will be able to compare some of the most used programming languages and make a quick syntax comparison with the most common and simple example, the lovely hello world program.
Hello World!!!
You will also be able to see some characteristics of each language and links to official documentation and not official of each.
Short description of the language.
Example comment
Hello world code
- Features:
- paradigm (structured or POO) |
- Level (medium or high) |
- Typed (strong or week) |
- Type (compiled or interpreted) |
- Learning Curve (fast, medium or slow)
- Documentation:
- Official Documentation |
- Doc Reference 1 |
- Doc Reference 2
In this section you will find the most used and popular programming languages and his basic syntax used in the most simple program and some features about it
C programming is a general-purpose, procedural, imperative computer programming language developed in 1972 by Dennis M. Ritchie at the Bell Telephone Laboratories to develop the UNIX operating system.
// Hello world in C
#include <stdio.h>
int main() {
printf("Hello World");
return 0;
}
- Features:
- Structured |
- Medium |
- Strongly typed |
- Compiled |
- Slow
- Documentation:
- Official Documentation |
- tutorialspoint |
- w3school
C++ is a middle-level programming language developed by Bjarne Stroustrup starting in 1979 at Bell Labs. C++ runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX.
// Hello world in C++
#include <iostream>
using namespace std;
int main(){
count << "Hello World";
return 0;
}
- Features:
- POO |
- Medium |
- Strongly typed |
- Compiled |
- Medium
- Documentation:
- Official Documentation |
- tutorialspoint |
- w3school
C# is a simple, modern, general-purpose, object-oriented programming language developed by Microsoft within its .NET initiative led by Anders Hejlsberg.
// Hello world in C#
namespace HelloWorld{
class Hello{
static void Main (String[] args){
System.Console.WriteLine("Hello World!");
}
}
}
- Features:
- POO |
- Medium |
- Strongly typed |
- Compiled and interpreted |
- Medium
- Documentation:
- Official Documentation |
- tutorialspoint |
- w3school
Java is a high-level programming language originally developed by Sun Microsystems and released in 1995. Java runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX.
// Hello world in Java
Class HelloWorld{
public static void main (String[] args){
System.out.println("Hello World!");
}
}
- Features:
- POO |
- Medium |
- Strongly typed |
- Compiled and interpreted |
- Slow
- Documentation:
- Official Documentation |
- tutorialspoint |
- w3school
Kotlin is a programming language introduced by JetBrains, the official designer of the most intelligent Java IDE, named Intellij IDEA. This is a strongly statically typed language that runs on JVM. In 2017, Google announced Kotlin is an official language for android development. Kotlin is an open source programming language that combines object-oriented programming and functional features into a unique platform.
// Hello world in Kotlin
fun main(args : <String>){
println("Hello World!")
}
- Features:
- POO |
- High |
- Strongly typed |
- Compiled |
- Medium
- Documentation:
- Official Documentation |
- tutorialspoint |
- w3school
JavaScript is a lightweight, interpreted programming language. It is designed for creating network-centric applications. It is complimentary to and integrated with Java. JavaScript is very easy to implement because it is integrated with HTML. It is open and cross-platform.
// Hello world in JavaScript
console.log("Hello World!")
- Features:
- Multiparadigm |
- High |
- Weakly typed |
- interpreted |
- Fast
- Documentation:
- Official Documentation |
- tutorialspoint |
- w3school
The PHP Hypertext Preprocessor (PHP) is a programming language that allows web developers to create dynamic content that interacts with databases. PHP is basically used for developing web based software applications. This tutorial helps you to build your base with PHP.
// Hello world in PHP
<?php
echo "Hello World!";
?>
- Features:
- Structured |
- High |
- Weakly typed |
- interpreted |
- Fast
- Documentation:
- Official Documentation |
- tutorialspoint |
- w3school
Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language. It was created by Guido van Rossum during 1985- 1990. Like Perl, Python source code is also available under the GNU General Public License (GPL). This tutorial gives enough understanding on Python programming language.
// Hello world in Python
print("Hello World!")
- Features:
- Multiparadigm |
- High |
- Weakly typed |
- interpreted |
- Fast
- Documentation:
- Official Documentation |
- tutorialspoint |
- w3school
Bash is an sh-compatible command language interpreter that executes commands read from the standard input or from a file. Bash also incorporates useful features from the Korn and C shells (ksh and csh).
# Hello world in Bash
#!/bin/bash
echo("Hello World!")
- Features:
- Structured |
- Medium |
- Weakly typed |
- interpreted |
- Medium
- Documentation:
- Official Documentation |
- tutorialspoint |
- Handbook