more than that.

You can define code in Boolean in terms of the abstract methods and such code will be executed on instance of True and False

using False and True methods.

You are learning now for real what is OOP.

So your teacher is a really smart teacher because he chose to expose you to objects and OOP thinking for real.

Stef
Le 31/10/16 à 15:58, CodeDmitry a écrit :
Ah so it's more of a "dynamic abstract class" than a "dynamic interface", so
they do get visited during the traversal of the inheritence chain(rather
than skipped immediately to Object).



--
View this message in context: 
http://forum.world.st/How-does-Boolean-ifTrue-work-tp4920873p4920896.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.




Reply via email to