BluePlane - seandenigris/SeansPlayground GitHub Wiki

Purple plane? (Not exactly revolutionary, but...)

  • Smalltalk tools encourage unnecessary inheritance. For example, say my app has Announcements. How do I organize them? I might be able to use class categories, but what if they are split between packages? The common solution seems to be to create a hierarchy, if only for documentation purposes - I can browse all MyAppAnnouncements in one place. Okay, not so bad in this example, but IHMO it reinforces an idea that "everything must form a hierarchy". Blue plane: Dynamically find objects in the system that satisfy a protocol - maybe through specs? Interim could somehow tag classes. One problem is that class categories have been hijacked for SCM packaging...