[squeak-dev] The future of BlockContext

Eliot Miranda eliot.miranda at gmail.com
Thu Apr 28 22:59:10 UTC 2011


Hi Randall,

On Thu, Apr 28, 2011 at 3:50 PM, Randal L. Schwartz
<merlyn at stonehenge.com>wrote:

> >>>>> "Levente" == Levente Uzonyi <leves at elte.hu> writes:
>
> Levente> since the early days of the developement of Squeak 4.1 (3.11
> Levente> back then) BlockContext was replaced by BlockClosure. I guess
> Levente> it's time to remove it from the system and merge ContextPart
> Levente> and MethodContext to Context as it was originally planned. Any
> Levente> objections?
>
> I know that most of the things that reach that deep are probably all
> core stuff (like debuggers), but is it possible to have some sort of
> backward-compatible API that mimics the old interfaces for legacy code?
>

This issue is essentially moot.  Backwards-compatibility code already
exists.  But BlockContexts are no longer created or used so they can be
eliminated, and once this is done there is only one context class and hence
we can merge ContextPart and MethodContext into Context.  Providing
backward-compatible names for Context (e.g. Smalltalk at: #MethodContext
put: Context) are possible but dubious, no?

best,
Eliot

>
> --
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777
> 0095
> <merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
> See http://methodsandmessages.posterous.com/ for Smalltalk discussion
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20110428/5bdcfccb/attachment.htm


More information about the Squeak-dev mailing list