Re: Object Oriented Programming
- Posted by Ralf Nieuwenhuijsen <nieuwen at XS4ALL.NL> Jun 30, 1999
- 593 views
> Joe Otto wrote: > > >If anyone's interested: > > > > 1) Let me know and I'll post it when it's usable > > 2) I'll probably need help writing a demo using it > > 3) Feel free to suggest features I may have forgotten Yep, Joe, lets see the code. Your list sounds pretty interesting and I haven't seen any full-featured OO system, that actually integrated with Eu nicely. Most current systems are either basic and flat (my attemts), which usually do run at a reasonable speed, or full-featured and totally interpreted, which usually run slow. The real issue actually, is how variables are stored and looked up. David uses a pretty readable approach in his Liama, although I couldn't completely figure out how his class-handling works ... (david, where's the docs ?) Anyways, certain 'advantages' of OO are often simulated in Eu, by using routines that 'manage' and 'register' other routines and interfaces, using routine_id. However, the emphasize is on the word 'simulate'. Font-libraries that allow different font-handles (like Jiri's), graphics libraries that allow registration of commands (like Neil), etc. all are simulations of 'advantages' of OO, rather than direct simulations of OO. I'm curious when we're going to close this gap, if there really is a way, with the current scope rules, anyway. Ralf