Most books, tutorials or papers introducing a new programming language starting with a simple Hello-World example. If you do some research about the origins of Hello World, you’ll find that it was first used 1973 in the article “A Tutorial Introduction to the Programming Language B” 1 by Brian W. Kerninghan.
Inspired by this, I want to list a Hello World example for any programming language I have had contact with.
The list of examples is by far not complete, because there are so many programming languages out there. But I was surprised by the amount of how many languages I had touched in my career til today.
Let’s start:
ABAP
awk
Batch
Bash
C
C++
C#
CoffeeScript
Groovy
Java
JavaScript
Kotlin
Pascal
Perl
PHP
Prolog
Python
Ruby
Rust
Swift
TypeScript
Visual Basic
For every language with a given source, I couldn’t remember how to write the Hello World example, so I looked it up.
Comments