This link has been bookmarked by 9 people . It was first bookmarked on 15 Jan 2007, by Brian Yang.
-
22 May 10
-
12 Jul 08
-
10 Jan 08
-
A novice programmer’s first assignment in a new language, typically, is to write a routine known as “Hello World” — a bit of code that successfully conjures the computer’s voice and orders it to greet its master by typing those words. In Basic, the simple language of my Sumer game, it looks like this:
10 PRINT "HELLO WORLD!" 20 STOP
“Hello World” programs are useless but cheerful exercises in ventriloquism; they encourage beginners and speak to the optimist in every programmer. If I can get it to talk to me, I can get it to do anything! The Association for Computing Machinery, which is the ABA or AMA of the computer profession, maintains a Web page that lists versions of “Hello World” in nearly two hundred different languages. It’s a Rosetta stone for program code.
“Hello World” looks more forbidding in Java, one of the workhorse programming languages in today’s business world:
class HelloWorld { public static void main (String args[]){ System.out.println("Hello World!"); } }Public static void: gazillions of chunks of program code written in Java include that cryptic sequence. The words carry specific technical meaning. But I’ve always heard them as a bit of machine poetry, evoking the desolate limbo where software projects that begin with high spirits too often end up.
-
-
30 Oct 07
-
06 Feb 07
-
15 Jan 07
-
03 Jan 07
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.