As developers, our main task is to write valid programs. These programs are executed on a computer; they’ll accept some inputs (e.g., keys pressed on a keyboard, a signal received from a microphone) and will produce outputs (e.g., emit a beep, send data over the network). The simplest program of all does nothing, and simply exits. That wouldn’t be a very gratifying introduction to coding, would it? Instead, let’s print a hearty welcoming message!
Since 1972, learning programmers have discovered their new language through variations of the same sentence: hello,
world
. A programmer’s first autonomous step is, thus, usually to change this standard message and see what happens when the greeting message slightly changes. Type, compile, run, smile—this is what developing a hello,
world
is about.