Re: New Language
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Sep 25, 2006
- 567 views
On Sun, 24 Sep 2006 13:41:01 -0700, Mike Nelson <guest at RapidEuphoria.com> wrote: >I'm in the process of developing a Euphoria-based OOP language. It >will be essentially similar to my Method Euphoria library, but will >have a much cleaner syntax Do you have any specs/design/examples? In particular side-by-side demos which extol the virtues, eg: OO:
return call_method(o,"length",{})
procedural:
if o[tag]=CAR then return o[CAR_LENGTH] elsif o[tag]=BOAT then return o[BOAT_LENGTH] ...
Though obviously a bit more involved. Possibly start with the very first program you hope to get running and the coolest example you can think of that will only start working sometime nearer the release date perhaps with some example mods or bugfixes which are trivial in OO but fiddly and all over the place in the equivalent procedural code? Not that I'm a particular fan of OO programming or anything... Regards, Pete