Login  Register

Issue 3845 in pharo: Polymorph extension shortSummary is not programmed the object way

Posted by pharo on Mar 22, 2011; 8:39pm
URL: https://forum.world.st/Issue-3845-in-pharo-Polymorph-extension-shortSummary-is-not-programmed-the-object-way-tp3397692.html

Status: Accepted
Owner: [hidden email]

New issue 3845 by [hidden email]: Polymorph extension shortSummary  
is not programmed the object way
http://code.google.com/p/pharo/issues/detail?id=3845

It is programmed with a sequence of

self isThisOrThat ifTrue: [] ifFalse: []

Please don't do that.
Just implement a shortSummary where due (with default behaviour ^summary)  
and use it !

With current shortSummary implementation, a MC with a postscript cannot be  
diffed.