Skip to main content
Post Made Community Wiki by user33201
Source Link
JeffO
  • 36.8k
  • 2
  • 59
  • 125

It's easy to spot what elegant code does. You get the, "Why didn't I think of that?" vibe. This relative to how complex the problem and the language being used.

This does not mean that the best or simplest solution is automatically elegant. Simple is often one of its qualities. Modifications, although usually easier, don't always maintain the elagance.