3 ms·
can you recommend a good design patterns book that you prefer? As someone who works with obj-c I'd be interested to hear your suggestion.
by canthonytucci 13y ago
can you recommend a good design patterns book that you prefer? As someone who works with obj-c I'd be interested to hear your suggestion.
- fleitz 13y agoReading the code of frameworks / projects you like working with. It's especially interesting to look at older versions and see how it has progressed. Design Patterns books tend to miss the practice with contrived examples. Real code focuses on problems people actually have. Also, use other languages. For instance abusing categories is something I learned from rails, when I learned of objc_setAssociatedObject I started adding properties via categories (which you aren't supposed to be able to do via a category).
- deleted 13y ago[deleted]
- steveklabnik 13y agoI haven't used it with Objective-C, but you should check out Smalltalk Best Practice Patterns. The two languages are close enough that it should work, Rubyists refer to it all the time.
- hboon 13y agoKent Beck’s Smalltalk Best Practice Patterns is a great book. In Smalltalk, but it works rather well for good OO languages, in general. Very easy to read. http://amzn.com/B00BBDLIME?tag=hboon-20 http://amzn.com/B00BBDLIME?tag=hboon-20
- galaktor 13y agoI've heard very good things about this book: "A Mentoring Course on Smalltalk" [1] [1] http://www.amazon.com/A-Mentoring-Course-on-Smalltalk/dp/B00262QEKK http://www.amazon.com/A-Mentoring-Course-on-Smalltalk/dp/B00... Edit: better link