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 <[email protected]> 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.
