Objective-C for Java Developers

Posted:
in macOS edited January 2014
I'm reading this book now, and I find it very interesting. Thus far, I haven't fooled around with Objective-C Cocoa programming because the syntax is so alien and I haven't had the right context to learn it. This book does an excellent job of explaining that Objective-C is a strict superset of C, and goes on to devote an entire chapter to C itself. Then next chapter talks about the extensions to C that Objective-C provides.



Thus far, my impression of Objective-C is that it's far more flexible than Java (Visitor design pattern comes for free, no enforcement of constructors) but that it gives you more rope to potentially hang yourself with, comes with more boilerplate (ex header files), and has a less sophisticated namespace mechanism (no packages).



Still, given the right tooling, the limitations shouldn't make that much of a difference.



Hopefully, I'll be able to start coding soon. The lack of a book like this has been the major barrier to me making better use of my Mac as a developer.
Sign In or Register to comment.