One of the hardest things for me is walking away from a solution I know is right. It's hard to realize that you will have to deal with a less than ideal solution because of internal politics but at the end of the day it's not worth it. Go home to your family and work on projects you enjoy and when work makes you write slop give it to em just as sloppy as they want it. Hopefully you work at a company where you don't know what in talking about but many of you in sure know exactly what solution you went to bat for and the various irrational reasons it never got built and to those of you out there I sympathize.