Re: SS
Matt Lewis wrote:
> In a related vein, for 'true' OOP, you really need late binding, which
> basically means virtual functions. I think this is very doable for ooeu.
I'm pretty sure you are talking about precisely the stuff I "don't get".
Erm...
> }}}
<eucode>
> euclass person( sequence p )
> sequence name
> virtual procedure print_name()
> end procedure
> end euclass person
umm...
> for i = 1 to length(people) do
> people[i].print_name()
> end for
Youch! That kinda means that an integer has to have a virtual function of the
same name... ??
> backend issues). However, I don't see a problem with the sort of thing
> I've done with ooeu.
Speaking of which, do you have any sort of design doc about ooeu's pbr?
Pete
PS is that what "virtual" actually means, ie "late binding"?
|
Not Categorized, Please Help
|
|