hello world

Posted on

 

 

To start your journey of learning, rise every day with hello world. Yes it’s ubiquitous with program languages but here at Siouxzette it’s how I greet every day.

Below the history of the phrase is how to say it in Human in 27 different languages.

excerpt from The Software Guild

The History of Hello World

Beginnings

Though the origins of Hello World remain somewhat unclear, its use as a test phrase is widely believed to have begun with Brian Kernigham’s 1972 book, A Tutorial Introduction to the Language B. In this text, the first known version of the program was used to illustrate external variables. Because the previous example in the tutorial printed “hi!” on the terminal, the more complex “hello, world!” required more character constants for expression and was the next step in the learning process.

From there, it was used in a Bell Laboratories memo in 1974, as well as The C Programming Language in 1978. This popular text is what made Hello World famous. The example from that book (the first, and most pure, example) printed “hello, world,” with no capital letters or exclamation point. At this time, Hello World was used almost solely to illustrate a few functions of a language— not to test whether the system was running.

Before Kernigham’s seminal texts on B and C, there was no standard first program. Even as late as 1972, it was not widely in use. The popular BASIC tutorial, “My Computer Likes Me, When I Speak in Basic,” starts with a simple program that writes a line of text. However, this message was “MY HUMAN UNDERSTANDS ME,” far from the two-word greeting programmers use today. But once Hello World was invented, it spread quickly, becoming well-known by the late 1970s. Its popularity continues to this day.

One Statement, Many Languages

Here’s what the code for Hello World looks like in some of the most popular programming languages currently in use.

Java

class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, world!");
}
}

C#

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

Python

print("Hello, world!")

Ruby

puts "Hello, world!"

Scala

object HelloWorld extends App {
println("Hello, world!")
}

ASP.NET

Response.Write("Hello World!");

Lisp

(princ "Hello, world!")

Haskell

main = putStrLn "Hello, world!"

Malbolge

('&%:9]!~}|z2Vxwv-,POqponl$Hjig%eB@@>}=<M:9wv6WsU2T|nm-,jcL(I&%$#"
`CB]V?Tx<uVtT`Rpo3NlF.Jh++FdbCBA@?]!~|4XzyTT43Qsqq(Lnmkj"Fhg${z@>

Go

package main
import "fmt"
func main() {
fmt.Println("Hello, world!")
}

Hello World in human languages. http://helloworldcollection.de/#Human

Afrikaans Hallo, wêreld!
Albanian Pershëndetje Botë
Arabic أهلاً بالعالم (Ahlan bil ‘Alam)
Armenian Բարե՛ւ, աշխարհ։ (barev ash’kharh)
Azeri Salam Dünya
Czech Ahoj Světe!
Basque/Euskara Kaixo mundua!
Belarusian Прывітанне свет (Pryvitannie sviet)
Bemba Shani Mwechalo!
Bengali Shagatam Prithivi!
Bosnian Zdravo Svijete!
Bulgarian Здравей, свят! (Zdrav’ei svi’at)
Cambodian ជំរាបសួរ ពិភពលោក (chomreabsuor piphoplok)
Catalan Hola món!
Chinese 你好世界 (nǐ hǎo shì jiè)
Cherokee ᎣᏏᏲ ᎡᎶᎯ (O-si-yo E-lo-hi)
Chinook Wawa Klahowya Hayas Klaska
Croatian Bok Svijete!
Danish Hej, Verden!
Dutch Hallo, wereld!
English Hello World!
Esperanto Saluton mondo!
Estonian Tere maailm!
Finnish Hei maailma!
French Salut le Monde!
Frisian Hallo, wrâld!
Galician Ola mundo!
German Hallo Welt!
Greek Γεια σου κόσμε! (Geia soy kosme)
Hawaiian Aloha Honua
Hebrew שלום עולם (Shalom Olam)
Hindi नमस्ते दुनिया (namaste duniya)
Hmong Nyob zoo ntiaj teb.
Hungarian Helló világ!
Icelandic Halló heimur!
Igbo Ndewo Ụwa
Indonesian Halo Dunia!
Irish Dia dhaoibh, a dhomhain!
Italian Ciao Mondo!
Japanese こんにちは、 世界! (konnichiwa sekai)
Kannada ಹಲೋ ವರ್ಲ್ಡ್ (Halō varlḍ)
Kiswahili Habari dunia!
Kikuyu Niatia thi!
Klingon nuqneH
Korean 반갑다 세상아 (bangabda, sesangah)
Lao ສະບາຍດີ,ໂລກ (sabaidi olk)
Latin AVE MVNDE (ave munde)
Latvian Sveika, Pasaule!
Lithuanian Sveikas, Pasauli
Lojban coi li terdi
Luxembourgish Moien Welt!
Malagasy Manao ahoana ry tany!
Malayalam Namaskaram, lokame
Maltese Merhba lid-dinja
Norwegian Hallo verden!
Persian !سلام دنیا (Salaam Donyaa!)
Polish Witaj świecie!
Portuguese Olá, mundo!
Punjabi ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਦੁਨਿਆ (Sati srī akāla duni’ā)
Romanian Salut lume!
Russian Здравствуй, мир! (Zdra’vstvuj mi’r)
Scots Gaelic Halò, a Shaoghail!
Serbian Zdravo Svete!
Slovak Ahoj, svet!
Slovenian Pozdravljen svet!
Spanish ¡Hola mundo!
Swedish Hejsan världen!
Tagalog Kamusta mundo!
Tamil ஹலோ உலகம் (Halō ulakam)
Telugu హలో వరల్డ్ (Halō varalḍ)
Thai สวัสดีโลก! (sawadee lok)
Turkish Merhaba Dünya!
Ukrainian Привiт, свiте! (Pryvi’t svi’te)
Urdu ہیلو دنیا والو
Vietnamese Xin chào thế giới
Welsh S’mae byd!
Yiddish העלא וועלט (hela velt)
Zulu Sawubona Mhlaba