Lan Barnes wrote:
I have an even better idea: Avoid clever algorithms altogether. Oh,
wait, that wasn't my idea ... it was from Kernighan and Plauger in "The
Elements of Programming Style."
That isn't always possible.
Hash tables were considered "clever" 20 years ago; Perl and Lisp were
the first to build them into the language. Floating point code is
almost always "clever". I generally give a reference to Goldman and
cite the appropriate section. Anything involving computational geometry
qualifies as clever, but there normally is no better choice. A
particular O() complexity may be required.
-a
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list