HydraTools and minimal images
Igor Stasenko
siguctua at gmail.com
Fri Feb 15 15:56:45 UTC 2008
On 15/02/2008, Klaus D. Witzel <klaus.witzel at cobss.com> wrote:
> On Fri, 15 Feb 2008 13:56:37 +0100, Igor Stasenko wrote:
>
> ...[snipped a lotta rock'n roll]...
>
> > For this reasons, i'd like to operate with interpreters using handles
> > instead of indexes.
>
>
> Here you seem to demonstrate an enormous lack of inconsistency :( In a
> previous posting you advertise use of an index
>
It's just doits. If you look at regular code in classes i never using
#at: patterns, only handles.
> -
>
> http://lists.squeakfoundation.org/pipermail/squeak-dev/2008-February/125150.html
>
>
> which suddenly no longer shall be used?
>
you can use them in doits, i'm just wanted to say, that in objects it
better to keep handles, not indexes.
>
> > This, in particular, can guarantee that if you save your image which
> > contains references to handles, they will render invalid during next
> > squeak session.
>
>
> Who wants that, what would that be good for?
Don't ask me who may wants that. I don't know :)
If you keeping an indexes within objects, then after restart, your
code will continue working not suspecting that there is no image with
given index or even worse , there is, but its serving for different
purposes.
--
Best regards,
Igor Stasenko AKA sig.
More information about the Squeak-dev
mailing list
|