Say Hello World in 25 different programming

0
261

Welcome back to shortlearner.com,today we will see how to say “HELLO WORLD” In 25 different programming languages.
there is no perfect programming language , they all offer something a little bit different, and there are hundreds of programming languages with new ones
being created everyday.

Hello World in all programming languages


APPLESCRIPT 

AppleScript is a scripting language created by Apple Inc. that facilitates automated control over scriptable Mac
applications.
Developer: Apple Inc.
First appeared: 1993

If you’re a Mac user, you can use this to automate and customise your applications.

say "Hello, world!"

also check print-numbers-from-1-to-n-without-using-loop-in-php

BASH

Bash is a Unix shell and command language written by Brian Fox and released in 1989

#!/bin/bash
STR="Hello World!"
echo $STR

C LANGUAGE

C is a general-purpose, high-level language
Developer:Dennis Ritche
appeared:1972

#include <stdio.h>

int main(void)
{
    printf("hello, world\n");
}

C++

C++ is a general-purpose object-oriented programming (OOP)
and is an extension of the C language

Developer:Bjarne Stroustrup,
appeared:1979

#include <iostream>

int main()
{
    std::cout << "Hello, world!\n";
    return 0;
}

C#

C# is a modern, general-purpose, object-oriented programming language developed by Microsoft

Developer:Anders Hejlsberg,
appeared:1989

using System;

class Program
{
    static void Main(string[] args)
    {
        Console.WriteLine("Hello, world!");
    }
}

COBOL

COBOL, in fullCommon Business-Oriented Language.,
High-level computer programming language,

Developer:Grace Hopper,
appeared:1989

IDENTIFICATION DIVISION.
       PROGRAM-ID. hello-world.
       PROCEDURE DIVISION.
           DISPLAY "Hello, world!"

COFFEESCRIPT

CoffeeScript is a programming language that transcompiles to JavaScript.

Developer:Jeremy Ashkenas,
appeared:2009
An effort to make JavaScript better to work with.

console.log "Hello, World!"

DART

A language for building client-side software that can run on phones and browsers.
Developer:Lars Bak and Kasper,
appeared:2011

main() {
  print('Hello World!');
}

LANG

Erlang is a general-purpose, concurrent, functional programming language, as well as a garbage-collected runtime system.
Designed to work in a distributed way to provide real-time processing and high availability.

Developer:Bjarne Däcker
appeared:1986

 -module(hello).
 -export([hello_world/0]).

 hello_world() -> io:fwrite("hello, world\n").

F#

A functional focused programming language that runs on the .NET framework.

Developer:don syme
appeared:2015

open System
Console.WriteLine("Hello World!")

FORTRAN

Created in the 1950s to run on mainframe computers, it’s well suited for numerical and scientific work. It became standard in the scientific world where it’s still used today.

Developer:Johbn Bascus
appeared:1957

program helloworld
     print *, "Hello world!"
end program helloworld

GO

Go was created and used at Google. It’s a practical language that focuses on programmer productivity with a community focused on performance and low latency.

Developer:Robert Griesemer
appeared:2009

package main

import "fmt"

func main() {
    fmt.Println("Hello, World")
}

GROOVY (RUBY)

A dynamically typed scripting language that runs in the Java runtime. Most Java code would also run as Groovy code but Groovy code can be more compact as it doesn’t require everything that Java does.
Developer:James Strachan
appeared:2003

println "Hello World"

JAVA

class HelloWorldApp {
    public static void main(String[] args) {
        System.out.println("Hello World!"); // Prints the string to the console.
    }
}

JAVASCRIPT (ECMASCRIPT)

JavaScript is the most commonly found programming language in the world. Mainly because it is required to be in every web browser. JavaScript is what makes the web dynamic and interactive. It was standardised under the name ECMAScript.
Developer:Bredan Eich
appeared:1995

console.log("Hello World!");

LOGO

Intended for education use, Logo has a close association with teaching graphical concepts. Popular in the 80s, a student would direct an on-screen “turtle” to draw lines. Some lucky students would also have a real robotic turtle to draw the same lines on actual paper.
Developer:Wally Feurzeig,
appeared:1967

TO HELLO
        PRINT [Hello world]
        END

MATLAB

MATLAB (matrix laboratory) is a multi-paradigm numerical computing environment and proprietary programming language developed by MathWorks.

Developer:Mathsworks,
appeared:1984

classdef hello
    methods
        function greet(this)
            disp('Hello, World')
        end
    end
end

NODE.JS

Node.js is an open-source, cross-platform JavaScript run-time environment that executes JavaScript code outside of a browser. Historically, JavaScript was used primarily for client-side scripting, in which scripts written in JavaScript
Developer:Joyent,
appeared:2009

console.log("Hello World!");

OBJECTIVE-C

An extension of C that adds Smalltalk like messaging. Used by Apple in writing macOS and iOS.

Developer:Tom Love and Brad Cox,
appeared:1984

main()
{
  puts("Hello World!");
  return 0;
}

PASCAL

Pascal is an imperative and procedural programming language, as a small, efficient language intended to encourage good programming practices using structured programming and data structuring

Developer:Niklaus Wirth,
appeared:1970

program HelloWorld(output);
begin
  Write('Hello, world!')
end.

PERL

Perl is very powerful for text processing. A popular option for creating websites in the early days of dynamic websites.
Developer:larry wall,
appeared:1987

print "Hello, World!\n";

PHP

PHP is the most popular language for building the backend of websites. It’s what Facebook and WordPress are written in. Facebook decided to create their own dialect of PHP called Hack.
Developer:Zend Technologies,
appeared:1995

<?php echo "Hello, World";?>

PYTHON

Python is an interpreted high-level programming language for general-purpose programming.
Developer: Guido van Rossum ,
appeared:1990

Has a compact syntax needing far fewer lines of code than languages like Java or C++. It’s very popular and is used for websites and artificial intelligence (AI) tasks.

print("Hello World")

R

A great language for doing statistics, and a popular choice in the scientific world.
Developer: Ross Ihaka ,
appeared:1993

cat("Hello world\n")

RUBY

Designed to be a productive and fun language to use, stressing human needs over computer needs. The Rails web framework was written for Ruby, and had a huge impact on web framework design. Ruby is still a popular language for creating websites.

Developer:Yukihiro “Matz” Matsumot,
appeared:1995

puts 'Hello World!'

SWIFT

A newer language created at Apple that is being promoted to replace Objective-C for use on its platforms. It’s designed to be an easier language to learn and use without losing the performance of Objective-C.
Developer:Chriss Lattner,
appeared:2014

println("Hello, world!")

TYPESCRIPT

It’s a dialect of JavaScript that adds strict rules to help with large projects while remaining compatible with JavaScript.
Developer:Microsoft,
appeared:2012

console.log("Hello World!");