* leee -- Thursday 26 April 2007:
> I've got to confess that I have always tended to write simple but verbose 
> code 
> on the basis that the the simplicity should make human misinterpretation less 
> likely and the verbosity is only in the /source/ code 

In this case it's different. The verbose code is slower and not only
*as* easy to read, but actually harder to read. More lines to parse
for the human brain, and the need to check if all 5 (FIVE!) "identical"
strings are *really* identical. And guess what: they aren't identical!
Did you notice? No problem in the efficient version. And if you know
what an negation operator does (!), then the efficient code is very
easy to understand. IMHO.

m.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to