We kicked off CMS.951 with Nick Montfort last week with Ralph Westfall’s piece, “Hello World considered harmful.” The computer scientist argues that the output of “Hello World” doesn’t communicate anything significant.
Although this code runs, it communicates virtually nothing about the concept of user-created objects. Other than the initial occurrence of the key word “class,”
and that funny little dot in the print statement, it could just as well have been written 25 years ago in some procedural language.
It doesn’t instantiate any objects and use any object behaviors. Once this problem is identified, the solution is simple. The “Hello, World” needs to be rewritten to include a user-created object.
Then he set us loose to write our own equivalent of a “Hello World” program. I decided to stick with Firefox’s scratchpad to write a program that would give me the RGB values of standard colors that I put in. Here is my program: