The only class fedoras look remotely good on is spy (and maybe scout/med) but other than that they all look dumb.
And for exactly the same reason they look dumb on most people despite their thoughts otherwise: Fedoras are meant to be worn with fancy clothing, which the Spy and Medic have access to while others for the most part do not
Heavy looks fabulous though
More like someone who frequents /r/atheism