Hi guys
I should say that I'm sick (gift from my little boy) so may be this is obvious.
I'm looking at the code of Spec and I hate this code :)
widgetDo: aBlock
�� �� ^ self widget ifNotNil: aBlock
I do not see why widgetDo: has to test for nil
So I transformed
widgetDo: aBlock
�� �� ^ self widget ifNotNil: aBlock
into
widgetDo: aBlock
�� �� ^ aBlock cull: self widget
BTW I hate all the cull: call. They are connected with sloppiness). It is far too easy to use cull:
I do not know how many arguments, I do not care I use cull:
cull: is slow slow and help producing messing API.
And it broke. The methodBrowser example did not work anymore and many others.
Debugger felt down....
I feel sad. Now my brain is dead so I cannot concentrate more.
Stef