Re: OOP
- Posted by Daniel Berstein <daber at PAIR.COM> Dec 16, 1998
- 390 views
At 09:54 a.m. 14-12-98 -0800, you wrote: >> What Object Oriented capabilities are available for Euphoria? > >Irv Mullins and I have experimented with OOP in our GUIs. WinMan is heavily >OO, supporting classes, single inheritance, local attributes and methods. > >I also put together an unreleased OOP library; here's an example of the >syntax: I believe we had an OOP thread about March of this year, or not? Rather than having a OO library I think it's better to *code* "ObjectOrientally". First you code each class on it's own module (include file). It's easy to create public and private methods and data members this way. Unfortunatly Euphoria's namespace management ain't to brilliant and oblies to create complicated solutions. I'm hoping RDS implements some way to programatically "tweak" namespaces... that way you could reference class/objects methods like: PointClass.New(), where 'PointClass.e' is the module that implements the class. Regards, Daniel Berstein daber at pair.com