Phone Companies Told Subscribers to Say Hello, While Bell Said Ahoy
Bell and Thomas Watson greeted each other with ahoy, while subscriber guides prescribed hello.

The a16z Show · From the Telephone to Modern Computing | James GleickHello became the telephone greeting because early telephone companies told subscribers to say it, while Alexander Graham Bell and Thomas Watson greeted each other with ahoy.
Bell and Watson used ahoy, in sailor style, when they spoke to each other on the new device.
Early local telephone companies took a different path. They printed etiquette rules telling new subscribers to begin each call by saying hello.
Hello stuck, and the habit outlived the rulebook.
Programmers still begin with hello world, though it could as easily have been ahoy world.
Questions people ask
Why did hello beat ahoy?
Hello was short, clear, and easy to hear on faint early lines, and it sounded polite rather than nautical. Once telephone managers printed it in subscriber instructions, millions of people copied it. Habit then did the rest.
What is hello world?
It is the traditional first program for someone learning a new computer language. The program simply gets the computer to display the words hello, world. The convention spread after its use in the 1978 book on the C programming language.
Did people say hello before the telephone?
Yes, but it was not yet the standard greeting. Hello came from older calls for attention such as hallo and holler. Telephone use made it everyday speech, and then face to face talk followed.


