[Etoys] type clash in viewer slots
bert at freudenbergs.de
Fri Jun 6 07:23:43 EDT 2008
On 06.06.2008, at 12:52, K. K. Subramaniam wrote:
> On Friday 06 Jun 2008 2:03:35 pm Bert Freudenberg wrote:
>> Because the Etoys object model has no classes. It uses a "fat" object
> You mean a "flat" object model?
Flattening makes the object fat, too :)
>> all methods are in the Player, and Player is the only type of
>> object in the Etoys philosophy. Only depending on which costume the
>> player currently wears are some methods hidden in the viewer.
> Should'nt an error be reported if there are two identical getter/
> methods, then?
>> So it is not a bug but a conscious design decision. Extensibility was
>> not high on the requirements list.
> The category definitions seemed to be designed for extensibility. The
> following spec would have been simpler:
> ( slot name description type getter setter categorylist)
Well, I'll leave that to Scott to answer.
- Bert -
More information about the Etoys