Avoid Multipurpose Slots
Avoid using a slot for more than one purpose
If you have to test the type of a slot value to know what is there, then consider adding more slots or defining more subclasses
Previous slide
Next slide
Back to first slide
View graphic version