I recently learned that http://www.xyz.com is not the same as http://xyz.com. I also learnt that when a user go to either site, the creator of xyz.com has the option to choose a "main" domain.
From what I know, when we type stackoverflow chooses http://stackoverflow.com over http://www.stackoverflow.com. On the other hand, Google choose http://www.google.com over http://google.com.
What are the benefits of choosing http://www.xyz.com as the main domain instead of http://xyz.com and vice-versa ?