Re: docs (OE,Phix) // ? benefits of OOP but simpler

new topic     » goto parent     » topic index » view thread      » older message » newer message
_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.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu