Archive for the ‘Programming’ category

First Program, First “Hello world!”

January 30th, 2009


I always hear the phrase “Hello World!” but I dont even know what that is until I took my IT course. Hahaha… Now, I know what that is.

“Hello World!” is the phrase commonly used in every first program created while learning. Know why? Well, the answer is as simple as “its written in the books”. It all started on 1978 when Kernighan & Ritchie’s book entitled “The C Programming Language” is published.

Whether you like it or not, its the phrase of the past, the present and the future. LOL! Looking at the bright side, the phrase implies welcoming everyone on the knowledge gained. How good that is to know that you have learned a brand  new thing in life. Peeping and printing on your screens the words “Hello World!” and being proud you are able to create your first C, php, vb, .net, java, etc program.

You may code it as :

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

or

<?php

echo “Hello World!”;

?>

or

class HelloWorldApp {
public static void main(String[] args) {
System.out.println(“Hello World!”);
}
}

still, its part of learning and adding new ideas to open up for a brighter side in developing new and wonderful codes.

Apart from programming, it sounds good. Hmmm… I just wonder, what if we use “Hello World!” on the streets and everytime we woke up? :)

Visitor :