in reply to about Coolness, Impatience and Complexity
Also, such a simple use might be akin to using a while loop to sort. Would a bubble sort be a good example of how to use these high-level "structured" flow mechanims 35 years ago when they were new?
Such a general implementation is n-squared because it knows nothing about the CODE block. If it knew that the function was transitive, it could be O(n).
Hey, that's a good use for "properties". Tag a function with such things as transitive and purity (the same input always generates the same output w/no side effects), and the caller can optomize.
—John
|
|---|