I just wrote it to kill time while waiting. Since it is a trivia of online information, please point out any mistakes.
Language links go to the wiki.
A language for machine language that the CPU can understand. Low-level language. I've never seen a site using it
Scripting language
Language for processing results with CSV, TSV or CLI Useful when performing shell art
hello.awk
#!/usr/bin/awk -f
BEGIN {
print "Hello World!"
}
Scripting language
Language for manipulating the shell It can be easily automated at the level of death without it. Recently there is WSL and it can be used on windows.
hello.sh
#!/bin/bash
echo "Hello World!"
Introductory programming language (when) Famous for Bemaga (BASIC Magazine) In "Beginner's All-purpose Symbolic Instruction Code", Named BASIC by taking its acronym It is a high-level language.
The origin of language. Procedural language It seems that if you master C language, you can afford to learn other languages It is unclear what can be said to be the ultimate An essential language in the embedded / kernel area
hello.c
#include <stdio.h>
int main(int argc, char **args) {
printf("Hello, world!\n");
return 0;
}
Structured, imperative, object-oriented, functional, event-driven, generic, reflection, concurrency
Standard language in the .NET Framework A relatively new language with good Java and C ++ languages Languages that people who use Unity etc. must learn
hello.cs
using System;
namespace Hello {
class Program {
static void Main(string[] args) {
Console.WriteLine("Hello, World!");
}
}
}
Multi-paradigm (combination of procedural programming, data abstraction, object-oriented programming, generic programming)
A language developed 10 years after the introduction of C Add object-oriented to C language, rich library and fast processing It seems to be upward compatible with C just by looking, but there are also drawbacks ML is famous for mentioning why C ++ is not used in kernel development
https://cpplover.blogspot.com/2013/05/linus-torvalsc.html
hello.cpp
#include <iostream>
int main() {
std::cout << "Hello World!" << std::endl;
return 0;
}
Still alive in the financial system Click here for coding style with 80 digits per line The official name is Common Business Oriented Language
The following is a program that outputs "Hello world!" In COBOL, which is sometimes said to be the most famous in the world.
000010 IDENTIFICATION DIVISION.
000020 PROGRAM-ID. SAMPLE-01.
000030*
000040 ENVIRONMENT DIVISION.
000050*
000060 DATA DIVISION.
000070*
000080 PROCEDURE DIVISION.
000090 MAIN.
000100 DISPLAY "Hello world!" UPON CONSOLE.
000110 STOP RUN.
A language for writing shell scripts in a C style The person who made vi called Bill Joy is the language of the creator Standard on Unix
hello.sh
#!/bin/csh -f
echo "Hello World"
The best language of C / C ++ Supports unit tests at the language level D language may have been heard even by people who do not know D language
hello.d
import std.stdio;
void main() {
writeln("Hello World!");
}
Object-orientation
Languages that can be used both on the server side and on the front end It seems to be popular but not popular Coexistence with JavaScript / Language selected in the right place Easy to install so it's worth a try
hello.dart
main() {
print("Hello World!");
}
A Ruby-like functional language. Characterized by the function of parallel processing. It's not Shiseido's elixir.
hello.exs
defmodule Hello do
def world do
IO.puts "Hello world"
end
end
Hello.world
Procedural / structured / imperative / object-oriented
The originator of high-level languages! Still active in university research The language inherited by the professor is Fortran, and it feels like it is inherited from there. It seems that it remains. I hear a lot of voices saying that the library of numerical calculation is abundant and I can't switch. There is a laboratory that I use at my university.
hello.f90
program hello
print *, 'Hello World!'
end program hello
Compiled language, structured programming, procedural programming, imperative programming, concurrency, multi-paradigm programming
Processing speed, low learning cost, rich library! Is it like the language that is currently flowing? Docker etc. are also written in Go. The main will be the development of web server applications.
hello.go
package main
import "fmt"
func main() {
fmt.Printf("Hello world\n")
}
Pure function language. The feature is that all expressions and functions have no side effects Advanced language. I want to get started someday.
hello.hs
main = putStrLn "Hello World!"
Object-oriented, structured, procedural
The most popular language from all industries. There are various uses such as business applications, web applications, and mobile applications. If you want to get started, you can eat rice if you start from now on. It seems that it is declining, but there is no doubt that it will be in demand for a while.
Write once, run anywhere. Languages that are almost OS-independent
java
public class Hello{
public static void main(String[] args){
System.out.println("Hello World!!");
}
}
Multi-paradigm
Honor student who handles both front and server side. Since development can proceed only with a text editor and a web browser, it is very appreciated by beginners and also used by advanced users, so the learning value is very high.
Procedural programming, multiple dispatch, functional languages, metaprogramming
A scientific and technological computing language. A rival to Python and R. It is both a scripting language and a compilation language
hello.jl
println("Hello World")
Object-orientation
It is attracting attention as a development language for Android applications. It feels like a rival to Scala. Recently, he is leading the way. It is a language of interest in the future.
fun main(args:Array<String>) {
println("Hello World!")
}
Multi-paradigm, functional, procedural, self-referential, meta
Quotations should be read http://www.geekpage.jp/blog/?id=2007/8/21
Multi-paradigm: Compiling language, concurrent programming language, procedural, imperative, object-oriented
I will omit the explanation. Please read this article. very interesting
One Nim for all developers to learn
nim
stdout.write("hello, world")
Object-oriented programming
iOS / macOS development language A language that can use C as it is rather than a C-like language Although swift has appeared and its popularity is decreasing, in local business iOS application projects It's still very popular (Isn't it just training swift engineers?)
main.m
#import <Foundation/Foundation.h>
int main(int argc, const char * argv[])
{
@autoreleasepool {
// insert code here...
NSLog(@"Hello, World!");
}
return 0;
}
Imperative, structured programming
Introductory language for education It is ideal for learning algorithms and is also called a structured language.
hello.pas
program hello;
begin
writeln( 'Hello World!' );
end.
Multi-paradigm
A language that prevailed in the CGI era Mainly maintenance projects, but still very popular in text formatting Famous for its very low readability
There is also such a saying __Perl is a huge, insidious evil created by skilled but distorted professionals. __
hello.pl
print "Hello World!";
Imperative programming
An introductory language with abundant frameworks, low learning costs, and easy environment construction It is also an attractive language that can be used by embedding it in HTML source.
Impression that the number of projects is still large. Backward compatibility may be lost due to version upgrade It is also true that there are many migration projects. (I don't know the situation in Tokyo ...)
hello.php
echo "Hello World"
Object-oriented, imperative, procedural, functional
You can do anything from web apps to artificial intelligence to simple tools with the CLI. I often hear that even non-engineers have automated paperwork with a very low learning cost and abundant library. You can easily operate the browser and automatically enter excel. It seems that full-scale artificial intelligence can also be used.
However, it is not recommended to do anything in Python as the word "the right person in the right place" narrows the field of view as an engineer.
hello.py
print("Hello World!")
Multi-paradigm Functional object-oriented imperative
I am buying for data analysis and data visualization. A language that is essential to learn if you want to become a data scientist.
hello.R
print("Hello world")
Structured, imperative, object-oriented
A language for enjoying programming. The author is Japanese Yukihiro Matsumoto. The lecture for young engineers is very emotional.
I personally think that Frame Ruby on Rails is a good introduction to the web industry. It's a pure object-oriented language.
hello.rb
print "hello world!"
Compiled language, system programming language, multi-paradigm programming, functional language, object-oriented programming
Safe and fast general-purpose language Characterized by C-style control structure
I personally like the layout of the official documentation. https://doc.rust-lang.org/stable/reference/notation.html
hello.rs
fn main() {
println!("Hello World!");
}
Object-oriented language, functional language
The best language to improve your skills from Java Functional and object-oriented dual wield. It also has an interpreter and can be used interactively from the CLI. By the way, Java can do the same with JShell recently.
hello.scala
object hello {
def main(args: Array[String]) :Unit = {
println("Hello World")
}
}
Scripting language
Text molding language Must learn if you do shell art / one liner To be honest, awk alone is fine, but when readability is important, it is necessary to use it properly.
$ echo | sed 's/.*/Hello World!/'
Smalltalk(1972)
Object-oriented language
The originator of object-oriented languages! Other languages that have had a great influence on object-oriented languages
A database manipulation language that does not fade. NoSQL has come out and there is a lot of momentum, but honestly it will not disappear. Each vendor has completely different extensibility, so learning is required each time. If you learn one, the rest is only application, so you need to learn something.
Functional language, imperative programming, object-oriented programming
The latest language recommended by Apple If you make an iOS app, learning will appear on the screen immediately in the required language It is easy to keep motivation for learning. The version change will make it incompatible.
Multi-paradigm: scripting, object-oriented, structured, imperative, functional, generic Microsoft language. An intermediate language for converting to Javascript. Compared to Haxe.
Required language for Windows business apps Still active language Made by Microsoft
Languages consisting only of spaces / tabs / newlines The so-called "esoteric programming language" I haven't seen anyone using it, but it may be good for learning heaps and stacks (a lie)
Recommended Posts