We agree. What I'm saying is the other way around. If you have a good user experience, you need to maintain good code behind it otherwise the bad code will translate to a bad experience.
Good code can be an absolute pain to use. But I'd almost just call it bad code for that reason.