It's not about prettiness. It's about being harder to extend thus making future adaptations harder.
You don't always need to extend or adapt. Not every piece of software is a business. Most often it's a tool to achieve something else.
Besides, this all revolves around the, I believe false, premise that humans write code better than AI.