I just received this email from my brother-inlaw regarding a manager of his who is trying to print a document....
My brother-inlaw is a programmer and works for a large software/hardware firm here in Greece.
Here's his email:
"since a lot of weird things are happening here, i'm
letting you know I'm about to kill some time and entertain you
The boss has sent a document to the printer with a
size of about 45MB, and it's printing since morning...and not only
that but he sent about 6 copies of that doc to the printer, and they
are all waiting to be printed...needless to say that the
stack for the printer is growing very rapidly...estimated time
needed to print a document should be about 2 days...."
Anyone know the history behind why printing 'hello world!' is the first program they teach you to write in any language anywhere ? (Unless its visual c++, then they start by describing Microsoft APIs lol)
The quintessential example in any programming language was invented by K&R in their C tutorial. It's called the Hello World. When a Hello World program is run, it--can you guess?--prints "Hello, world!" to the screen (or teletype or laser-projecting-on-clouds or whatever). This is generally a simple one-line easily-readable statement, which is why it makes for a good first example. (One of the most common exercises for esoteric languages, however, is to make the Hello World as obtuse and and mind-bendingly complex as possible. Take a look at the program that prints "Hi" in Beatnik. The full Hello World would be about twelve times as long.)