Well tailored, high quality dress pants can be tremendously comfortable. More so than most jeans.
Really the lesson here is people don't spend money on things they use twice a year. Also an important software engineering lesson!
(Though I'll bite on the ties...terribly uncomfortable)