[Pharo-dev] NativeBoost String Handling Bug?

Igor Stasenko siguctua at gmail.com
Tue Dec 3 07:46:09 EST 2013


so i added anotehr version of slice,
where i added 1 extra method to Class.
in inbox.
but there some missing methods in kernel.


On 3 December 2013 13:27, Igor Stasenko <siguctua at gmail.com> wrote:

> Yes, when we discussed this with Martin (for a first time on that topic, i
> guess)
> all i wanted is a convenience method to _just_ make anonymous subclass..
> how long this expression could be?
>
> it should be as long as:
>
> myClass createAnonymousSubclass.
>
>
> and what we have instead?
>
> First:
>
> self classBuilder anonymousSubclassOf: NBExternalArray.
>
> then
>
> newSubclass := AnonymousClassInstaller make: [ :builder |
>            builder superclass: NBExternalArray ].
>
>
> this is unacceptable.
> Because imagine one day you would want to port such code, (not necessary
> NB, but code which creates and
> uses anonymous subclasses), which code for porter, would be easier to
> understand how to port it if another dialect will miss any
> AnonymousClassInstaller?
>
> --
> Best regards,
> Igor Stasenko.
>



-- 
Best regards,
Igor Stasenko.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20131203/df7f8da2/attachment-0002.html>


More information about the Pharo-dev mailing list