2 ms·
This is a great little refresher. I recently inherited a codebase of about 3500 lines, 2500 of which are in one class. Not OO. Incidentally, if this article bl
by fusiongyro 14y ago
This is a great little refresher. I recently inherited a codebase of about 3500 lines, 2500 of which are in one class. Not OO.
Incidentally, if this article blew your mind or if you're interested in Smalltalk, I can't recommend this book enough:
http://www.lulu.com/shop/andres-valloud/a-mentoring-course-on-smalltalk/paperback/product-3788890.html http://www.lulu.com/shop/andres-valloud/a-mentoring-course-o...
The author has a radical take on OO in Smalltalk and shows that going to absurd lengths to eliminate if-statements (well, ifTrue: et. al., because it's Smalltalk) can lead to both better readability and better performance.