retard wrote:
I use the Okasaki book as my bible when talking about purely functional data structures.

It's an awesome book. It's also very frank and tells things as they are, as opposed to others (*cough*) that patronize the reader by artificially making it seem so easy, it's amazing how Stoopid People missed the point. Un-incidentally, Okasaki does not dabble in qsort. He does describe mergesort - a perfectly sound and advantageous sorting methods for lists.

Ok, I'm itching to share another gem.

"At this point you might be wondering how it's possible to program without variables. How can you express something like X = X + 1 in <language erased to protect the guilty>? The answer is easy. Invent a new variable whose name hasn't been used before (say X1), and write X1 = X + 1".


Andrei

Reply via email to