Rethinking the Java Curriculum: Goodbye, HelloWorld!
Subject:   What HelloWorld is good for
Date:   2002-08-22 15:27:38
From:   ljagged
I think that you're missing a couple of the good points of HelloWorld.

1) It's small. It's about as small as you can get and still have some working code.

2) It provides feedback to the user. By actually printing something to the screen, the user -- a newbie by definition -- gets immediate feedback that s/he did something right.

3) It's friendly. It's hard not to feel good when you see the cheerful 'Hello World!' staring at you from the terminal window.

I agree with you that HelloWorld doesn't teach good OO practices, but I think the purpose of HelloWorld is to show the user that everything is set up correctly for some real programming to occur. It's more of a system check than a model of the RightThing.

1 to 2 of 2
  1. What HelloWorld is good for
    2003-04-21 09:54:22  anonymous2 [View]

  2. Daniel H. Steinberg photo I thought I said that in the article
    2002-08-22 18:42:32  Daniel H. Steinberg | O'Reilly AuthorO'Reilly Blogger [View]

1 to 2 of 2