On Fri, Jun 17, 2011 at 5:12 PM, Lazaridis Ilias <ilias / lazaridis.com> wrote:
> "Object Model" as in
>
> * Design and implementation of a programming language's OO behaviour (classes, object, inheritance, mixin, methods, attributes, per-instance-behaviour etc.).
>
> Special part of this language's (ruby) "Object Model" is
>
> * Primitive data types (integer, string, ...) are objects, and haverelated classes (Integer, String)
> * Classes (including those of the primitive data types) can be redefined at runtime.
>
> This is a flexible ability, but it has (in the current implementation) a limitation (essentially a bug):
>
> * Limitation: a redefined initialize method is *not* called during "literal instantiation"
>

Other than some abstract violation of a model, what problem is this
causing? Do you have actual code in a practical situation for which
this "limitation" is an obstacle? What would this solve, and what
would be its direct, realisable benefit?