I’m watching Ali Ozer’s “Cocoa
I’m watching Ali Ozer’s “Cocoa API Techniques” from this year’s WWDC. It’s interesting to notice how many of the techniques he mentions — strategies for using immutable objects, appropriate conditions for subclassing, the requirement that object equality be symmetric (and maintain its full equivalence relation), etc. — are true for Java as well. In fact, I’m cross-referencing his slides with sections in Joshua Bloch’s absolutely fantastic Effective Java. Ozer and Bloch are talking about two different languages, but the concepts are almost exactly the same.