IAD is worse. I can't adequately express in words the difference between the two airports.
Are you asking specifically about DCA Terminal A? While Terminal A is an unpleasant experience in every way, it is small enough that the damage it can do to your psyche is limited. Plus, security is still a breeze there compared with IAD.