New "Unified Class Syntax coming in Oxygene 8.4

Another area where we're making some significant improvements for the upcoming Elements 8.4 release is the Oxygene language itself.


This is a companion discussion topic for the original entry at http://blogs.remobjects.com/2016/06/06/new-unified-class-syntax-coming-in-oxygene-8-4/
3 Likes

Re Oxygene’s optional blurring of declaration/implementation

Oxygene’s separation of declaration and implementation can be a real boon,

Generally always feel that way. Personally I’d like the separation cleaned up rather than weakened. That is, declare in the interface section only public methods. Allow declaration of private/protected methods to be entirely contained within in the implementation section. Perhaps something like

TMyClass = class
deferred
public //implicit
method TMyMethod

end;

where the directive or keyword ‘deferred’ tells the compiler that the implementation section will fill in the nonpublic aspects of the class.

bobD

1 Like

interesting idea…