An exhibit about two words
hello, world
A short history of the first thing programmers say, in seven desks.
For more than fifty years, the first program anyone writes in a new language has printed the same two words. Here's where they came from and where they went, one desk at a time.
Every desk is set up the way an ordinary one looked that year. Step inside any of them to look around, and tap anything on it to find out what it is.
1972: It started with B
main( ) {
extrn a, b, c;
putchar(a); putchar(b); putchar(c); putchar('!*n');
}
a 'hell';
b 'o, w';
c 'orld';
Step inside the 1972 desk
1978: The book that made it a habit
main()
{
printf("hello, world\n");
}
Step inside the 1978 desk
1982: Everyone's first program
10 PRINT "HELLO WORLD"
20 GOTO 10
RUN
Step inside the 1982 desk
1991: Hello, web
<TITLE>The World Wide Web project</TITLE>
<H1>World Wide Web</H1>
The WorldWideWeb (W3) is a wide-area
hypermedia information retrieval
initiative aiming to give universal
access to a large universe of documents.
Step inside the 1991 desk
1995: Hello from the browser
<SCRIPT LANGUAGE="JavaScript">
alert("Hello, World!");
</SCRIPT>
Step inside the 1995 desk
2008: Hello, pocket
- (void)viewDidLoad {
[super viewDidLoad];
label.text = @"Hello, World!";
NSLog(@"Hello, World!");
}
Step inside the 2008 desk
2026: Hello, agents
"I want you to just make a Hello World
test website. Publish it from
beginning to end."
Step inside the 2026 desk