Fri Nov 23 23:37:47 EST 2012
Wrappers: The point
Generic functions are a better abstraction mechanism, but are hard to
integrate into a wide set of languages. Find out how exactly this is
true/false, and if true, how to standardize on classes
(single-dispatch + factory).
- abstract vs. concrete (memory-only) state
distinguish between concrete, memory-only objects, and references to
external state (e.g. file descriptors). this is actually a very
important distinction when thinking about lifetime of objects and of
serialization. how to make it proper?
( i wrote something about re-initializable state before: state that's
essentially just cache vs. state that is essential to the object's