Quote:
Originally Posted by HMW
"Elegant" is highly subjective. Personally, I prefer code that is: well written (properly indented), well commented, with proper use of exit codes and thus is easy to maintain and modify.
But... to each his/her own.
|
I agree wit this one, a code that can easily be read by others so that it is easy to maintain, modify and re-use the code if necessary.
Bottom line if it works, output and speed is not compromised and a year later you go back to it and you still understand what was done, I guess that would be considered elegant.