www. is deprecated. I wouldn’t go as far to say avoid www—just as long as you pick one and redirect the other.