Jean-Louis,
your experimental ::extension mechanism brings ooRexx up on par with
many modern object-oriented programming languages (e.g. C#, Objective
C), which allow to add behaviour (methods) to existing classes in an
easy and straightforward ooRexx manner !
For me it would be a logical
Rony
That's correct.
I can run your script in my sandbox, and I get the result you are expecting.
Just a few words about the changes I made in my sandbox : in fact I made
almost nothing ! Everything is in place in the current interpreter to
support this kind of extension... I had just to unlock
Jean-Louis,
On 19.02.2011 18:02, Jean-Louis Faucher wrote:
That's correct.
I can run your script in my sandbox, and I get the result you are
expecting.
That's just great!!
Do you happen to have a build of your version of ooRexx somewhere :)
such that I could download it to experiment with
I'm definitely -1 to implementing this feature in this manor. I think
the concept of a class extender needs to be part of the model for how
a class works, including the implementation of the restriction on
method overrides. It should be possible to query the extensions on
what has been added to
2011/2/19 Rick McGuire object.r...@gmail.com
I'm definitely -1 to implementing this feature in this manor.
Rick, do you mean in this manner here ? just to understand if the feature
could be accepted, but with a different approach, or if the feature is
really not wanted.
I think
the
On Sat, Feb 19, 2011 at 12:54 PM, Jean-Louis Faucher
jfaucher...@gmail.com wrote:
2011/2/19 Rick McGuire object.r...@gmail.com
I'm definitely -1 to implementing this feature in this manor.
Rick, do you mean in this manner here ? just to understand if the feature
could be accepted, but
I am -1 to implementing this by using inherit and define and removing
the restrictions. The concept of extensions should be a new
capability of classes, not just bolted over the existing mechanisms.
ok :-)
Needless to say that i'm *very* interested by more details about what could
be this
On Sat, Feb 19, 2011 at 1:25 PM, Jean-Louis Faucher
jfaucher...@gmail.com wrote:
I am -1 to implementing this by using inherit and define and removing
the restrictions. The concept of extensions should be a new
capability of classes, not just bolted over the existing mechanisms.
ok :-)
Well, by new capability, I mean new methods that implement this
mechanism. As a general principle, the directive instructions just
map to methods (or a series of methods) on the Class class. It is
possible to create a new class just by invoking the methods, though
that is rarely done. So
On Sat, Feb 19, 2011 at 2:33 PM, Jean-Louis Faucher
jfaucher...@gmail.com wrote:
Well, by new capability, I mean new methods that implement this
mechanism. As a general principle, the directive instructions just
map to methods (or a series of methods) on the Class class. It is
possible to
10 matches
Mail list logo