in reply to Re: Are array based objects fixed length?
in thread Are array based objects fixed length?
Are you really mussing around in the internals of instances of other peoples' classes? Have you no respect?! :-)Yes, and of course I do. I respect other people enough that I want to provide a tool that just works, for a sufficiently large number of client classes.
To do this, I have to futz with object internals. It's easy enough with hashes; one can just add a 'safely named' key to the hash and document what you've done, and the vast majority of code will continue to work happily. And if it doesn't, you provide hooks to allow the user to adapt his code so that it will work transparently. (Easy things easy, hard things possible).
It's less easy with other object representations (that haven't taken advantage of the provided hooks that is). The aim is to make it as easy as possible. I can see ways forward, but I'll have to jump through more hoops to reach my destination. Though thinking about it, I'll probably have to jump through those hoops anyway if I want to support, say, regex based objects...
Why am I doing this? Well, all the right reasons. Laziness, Impatience and Hubris. I don't like repeating myself, either in building schemas, reimplementing yet another simple minded container, or solving the 'Fetching the World' problem for the nth time. I'm not going to spend my time waiting for someone else to solve my problem. And I'm confident that approach to this that James and I have cooked up is better than all the other approaches out there.
Pixie is about reducing the hoopage that a Pixie user has to deal with to make her objects persistent. If that means that we (Pixie's implementors) have to deal with way more hoopage, that's okay; if (when) we do it right, it'll mean that nobody else has to jump through those particular hoops again.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Are array based objects fixed length?
by sauoq (Abbot) on Jul 29, 2002 at 16:22 UTC | |
by pdcawley (Hermit) on Aug 01, 2002 at 13:24 UTC |