I have been doing programming since high school days and I always wondered why the examples used have the output as ‘Hello World’. If you have noted carefully, the size of the program increases as you go high up and graduate but the output remains the constant.
I got this funny forward in office today morning and now I know why programs with 1000’s of lines doesn’t stagger me anymore
Read on and you will understand what I mean…
High School/Jr.High
10 PRINT "HELLO WORLD"
20 END
First year in College
program Hello(input, output)
begin
writeln('Hello World')
end.
Senior year in College
(defun hello
(print
(cons 'Hello (list 'World))))
Have removed the rest of the code an the article for the time being as it was breaking my RSS feeds. If you are interested in checking out the rest of the article check it out here.
Believe me, all this gives the same output “Hello World”!!!













damn!
this is a good one
lol man good old basic days .
Charles Darwinism, evolution! But this seems a bit different because the evolution is happening on a “CODE”! so, what will people called it now? Hello Worldism? hahaha XD
hi,
Thats quite true that a few lines of code can do that of the same code which runs over 1000 lines. When i start learning a new language, i do start with “hello world”, its de facto.
But imagine the program i wrote yesterday. wll its well past 3000 lines and i took a week to code it. It jumps in to a database and piles out a excel sheet of records as the output.
I also did a sample test and for your info, the size of the output excel file was over 1 MB.
I don call it complex code, it is just lengthy process. There are of course a few very complex code, which are only a few lines of code.
LMAO, I did this in high school too, I’d leave class with a buncha garbage scrolling the screen and they didnt have a clue how to get that stuff off.
Man that was really funny. Yet its true!!