When people describe a piece of code as "ugly", "convoluted", or "over engineered", what they are actually saying is the code isn't a natural solution to the problem it is trying to solve. Natural solutions don't fight against the problem; they work with the problem. Natural solutions are simultaneously simple and effective, with no wasted motion. This is the definition of elegant code.