Re: [Oorexx-devel] No inherit for REXX package classes

2021-03-14 Thread Rony G. Flatscher
On 14.03.2021 12:08, Rick McGuire wrote: > It really is a security feature. Things start getting terribly wonky if the > behavior of a class > gets altered beyond the author's intentions. This may be the case, but the same (a very general) argument would work against almost anything where the

Re: [Oorexx-devel] No inherit for REXX package classes

2021-03-14 Thread Erich Steinböck
> It really is a security feature. > Things start getting terribly wonky if the behavior of a class gets altered beyond the author's intentions. What about allowing just something most basic, like *adding *new methods only (no deletions or modifications of existing)?

Re: [Oorexx-devel] No inherit for REXX package classes

2021-03-14 Thread Rick McGuire
It really is a security feature. Things start getting terribly wonky if the behavior of a class gets altered beyond the author's intentions. Rick On Sun, Mar 14, 2021 at 6:44 AM Erich Steinböck wrote: > For an elegant solution I so often wish I could add a method to a class > within the REXX

[Oorexx-devel] No inherit for REXX package classes

2021-03-14 Thread Erich Steinböck
For an elegant solution I so often wish I could add a method to a class within the REXX package, but can't, as it's forbidden. I think it's also impossible to add a method to an existing instance of such a class (an instance like e. g. a DateTime that is returned from a .File method). What is