[Pharo-dev] NativeBoost String Handling Bug?

Igor Stasenko siguctua at gmail.com
Tue Dec 3 07:27:57 EST 2013


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20131203/0f4fdf4a/attachment-0002.html>


More information about the Pharo-dev mailing list