It might be helpful if you have a "registry" of classes. The classes can self-register statically, rather than you having to add separate code which registers the just-declared class.
It seems like a minor convenience, but it might play well with inheritance or mixin classes?
Comments
It might be helpful if you have a "registry" of classes. The classes can self-register statically, rather than you having to add separate code which registers the just-declared class.
It seems like a minor convenience, but it might play well with inheritance or mixin classes?