[squeak-dev] Pull up #classPool?

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Sun Feb 16 15:21:33 UTC 2020


Proposal: #classVarNamed:

(Sorry for doublepost)


ClassDescription >> classVarNamed: aString

  ^ self classPool at: aString

ClassDescription >> classPool
  ^ self subclassResponsibility

Not sending this directly into Inbox because I'm not sure whether this would be the right way to implement it.
What should [RectangleMorph classVarNamed: #HaloForAll] return? Error or Boolean?

Best,
Christoph

________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von Thiede, Christoph
Gesendet: Sonntag, 16. Februar 2020 16:16 Uhr
An: Squeak Dev
Betreff: [squeak-dev] Pull up #classPool?


Hi all,


Class, Metaclass and TraitDescription all implement #classPool. Would this be a good reason to implement #classPool on ClassDescription, with #subclassResponsibility?


Best,

Christoph

<http://www.hpi.de/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200216/bcffcafc/attachment.html>


More information about the Squeak-dev mailing list