Unification of Methods and Functions

Kevin G kevnsgnospam at aol.com
Wed May 19 21:37:40 EDT 2004


On Thu, 20 May 2004 13:32:14 +1200, Greg Ewing
<greg at cosc.canterbury.ac.nz> wrote:

<snip>

>Also, there's a difference between cacheing and maintaining
>redundant data representations. With a cache, if in doubt you
>can always throw away the cache and re-calculate. But if your
>design relies on incrementally keeping parallel data structures
>up to date, if anything gets out of whack, you're hosed,
>because you don't have the ability to re-calculate the
>redundant data from scratch.

Seems to me there's a semantic problem here: if you can't re-calculate
it, then by definition it's not redundant.

-Kevin



More information about the Python-list mailing list