'Hello world
' is the usually the first example for any programming language. I've always wondered where this sentence came from, where was it first used.
I've once been told that it was the first sentence ever to be displayed on a computer screen. but I've not been able to find any reference to this.
So my question is:
Where does the practice to use 'hello world
' as the first example for computer languages originate from?
Where was it first used?
Update
Although the answers are quite interesting, I should have noted that I had read the wikipedia article. It does answer the question about the first use in literature, but does not answer when 'hello world
' was first used.
So I think that it is save to conclude that it was not the first ever sentence to be displayed on a computer screen and that there is no record about when it was first used?