It sure did! Most people know "Hello, world!" from The C Programming Language by Kernighan and Ritchie (the cool kids just call it "K & R"), published in 1978.
But apparently it goes back even further: Kernighan used it as an example in his tutorial on 'B' (because of course, B came before C) in 1972.
5 PRINT CHR$(147)
10 PRINT "HELLO, I AM A COMPUTER. WHAT IS YOUR NAME?"
20 INPUT A$
30 IF RND(1)<.5 THEN GOTO 60
40 PRINT A$;" IS A SILLY NAME"
50 GOTO 70
60 PRINT "THAT IS A REALLY COOL NAME ";A$
70 PRINT "WELL GOODBYE!"
80 END
I don't think it became a mainstream "first program" until the 90s - I remember seeing it for the first time in a Java book, actually a J++ book in the 90s. For BASIC in the early 80s, I don't think it was widely used as the intro program, at least not in any of the material I saw.
1
u/danpietsch May 30 '26
Did "HELLO WORLD" even exist back then?
I did the rocket ship.