Introduction to OOP Chapter 16: Overriding : next previous audio real text

More Efficient Versions in class True

In class True we know the left argument is true, and therefore can make more efficient algorithms.
" class True "

	& right
		^ right

	| right
		^ true
Similar code in class False. These are faster than the code in the parent class, but have the same effect.
Intro OOP, Chapter 16, Slide 11