Re: docs (OE,Phix) // ? benefits of OOP but simpler
- Posted by euphoric (admin) Dec 14, 2016
- 1689 views
_tom said...
My working hypothesis for today is:
OOP languages achieve the benefits of Euphoria, at the cost of added complexity and some extra coding.
I'm beginning to suspect that the best (only) good part of oop is dot notation.
ha! Well said. X)
I wonder if Euphoria could use a dot instead of colon for namespace referencing. Then we could call it "object* referencing" and package it as OOP-lite.
datetime right_now = datetime:now()
becomes
datetime right_now = datetime.now()
*Would obviously need to differentiate between the built-in object variable.