'hello, world
' is usually the first example for any programming language. I've always wondered where this sentence came from and 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 safe to conclude that it was not the first sentence ever to be displayed on a computer screen and that there is no record about when it was first used?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…