Which programming language to choose for the beginning, namely multi-Hello World

Table of Contents

Are you thinking about choosing a programming language? You have no idea which one to choose? Then this post is for you. I’ve prepared a short description of the different languages in it. programming and Hello World basic code.

Golang

package main
import "fmt"
func main(){
	fmt.Printf("Hello World\n")
}

Statistically typed, multi-argument programming language developed by employees Google by Robert Griesemer, Rob Pike and Ken Thompson in 2009. It has a built-in Garbage Collector. It significantly facilitates co-programming, thanks to the so-called GoRutines. Functions can return more than one result. Unfortunately, on Currently, Go 1.10 does not support generic types.

JavaScript

console.log("Hello World");

The language of the front. Required when writing web applications. Used to create interactive views on web pages. Dynamically typed (duck typing), a multi-paradigm, prototype based programming language developed by the company Netscape in 1995. With its server-based implementation, NodeJS has a huge a library of frameworks including Angular from Google and React from Facebook.

Java

class Hello{
	public static void main(){
		System.out.println("Hello World");
	}
}

Fully object-oriented language, statically typed. It is currently one of the most popular programming languages in which you can find work without major problems. Created in 1995 by Sun Microsystems. Its main applications are web applications of the enterprise. It often uses the Spring Framework to create applications. Java was created for independence from architecture, so we can run on any machine that has a Java virtual machine.

C#

class HelloWorld
{
    static void Main()
    {
        System.Console.WriteLine("Hello, World!");
    }
}

Microsoft’s answer to Java. Also created as fully object-oriented, static the programmatic language of choice. It has many C++ and Java elements. Virtual .NET machine allows to run on many systems, mainly due to .NET Core

C

#include <stdio.h>

main()
{
    printf("Hello World!\n");
}

One of the oldest languages, currently used for writing microcontrollers. It is also currently used in Linux kernel development. It has no classes, but it is small in size and can be compiled on any platform. It is a language statically typed.

C++

#include <iostream.h>

int main()
{
    cout << "Hello World!";
    return 0;
}

Improved C, has classes, templates (generic types), inheritance mechanisms. All in all, this is C on steroids. Used where it counts, the speed of our applications.

Python

print("Hello World")

A dynamically typed language, interpreted. Very easy to learn, finds use in many fields of computer science, from simple scripts to pages Internet (using Django or Flask frameworks), up to Artificial The Intelligence Directorate (Machine Learning, Deep Learning). With dynamic typing we may not care about the precision of the data type, unfortunately, because it is the interpreted language cannot detect errors before running the application, and the performance of our applications will not be as good as in the case of aplication written in C or C++ (come it all depends on the algorithm used).

Ruby

puts 'Hello, world!'

Like Python, it is a dynamically typed and interpreted language. Currently its main application is WebDev thanks to the Ruby on Rails framework, which allows for quick prototyping and writing of web applications. Ruby on Rails itself has a scaffolding mechanism for our applications, making a simple page with databases, views and controllers we’ll make it in a few minutes.

PHP

<?php echo '<p>Hello World</p>'; ?> 

The language is considered by many to be extinct and is intended exclusively for WebDev. Despite everything, it is still very popular thanks to a CMS called Wordpress, which was just written in PHP. Wordpress itself does not require knowledge of PHP, but Writing add-ons may already require us to know PHP.

Haskell

main = putStrLn "Hello World"

A language with a functional programming paradigm. Ideal for learning just such programming style. I wasn’t allowed to use it, so much about it I won’t write.

Malbolge

(=<`$9]7<5YXz7wT.3,+O/o'K%$H"'~D|#[email protected]=`{^Lx8%$Xmrkpohm-kNi;gsedcba`_^]\[[email protected]?>=<;:9876543s+O<oLm
Syntropo avatar
Syntropo
Syntropo's true identity is unknown. Maybe he is a successful blogger or writer.