Hello world,
As a programmer, we must have heard that word before. If you never heard it before, then I doubt that you're a real programmer.
Yep, as we know, "Hello World" is a phrase that every programming tutorial uses for their first chapter.
package main
import fmt
func main() {
fmt.Println("Hello World")
}
But, have you ever wondered why'd we even use that phrase ?
Since this is my first blog post in here, lemme also start with "Hello World" 😁
Well, turns out it came from a guide book for "C" Programming Language authored by "Brian Kernighan".
This is the code snippet
main( ) {
extrn a, b, c;
putchar(a); putchar(b); putchar(c); putchar('!*n');
}
a 'hell';
b 'o, w';
c 'orld';
But why though? Why not, "aloha" or smth?
Well, unfortunately, the man himself barely remembers why, when "Forbes India" interviewed him, he said
What I do remember is that I had seen a cartoon that showed an egg and a chick and the chick was saying, “Hello, world”
haha, yeah...i know right. But it is what it is. Alright, that's all I can say for my first post.
Hope you find something useful.
See ya,
آلى اللقاء
References: