A philosopher ranks the three best types of companionship