in reply to IYO, what is elegant code?
Oh, that's easy. Elegant code is the opposite of clunky code ;) But seriously, elegant code is like good writing: there are many different styles and many more different ways those styles are understood. So much depends on whether the author and the reader share enough culture to understand each other---that's when the code is considered elegant.
--
Allolex
|
|---|