Re:Ask HN: What do you think of Objective-C?
by derefr on Thursday December 18, 2008 @03:06AM
(#401938)
You know, I always wondered why they don't have, as contrasted with the "For Dummies" series, "Yet Another Language: Foo" books: books that assume you already know every language but this one, are already down on all the theory behind the language, and just want to know the syntactic, library-usage, and perhaps semantic (for example, macros in Lisp) transforms to take the code you already know how to write and retool it.
The flagship books of the series would be for Java and PHP, marketed to people that otherwise abhor those languages, but have to whip them out for the requirements of a specific project.
Re:Ask HN: What do you think of Objective-C?
by tocomment on Thursday December 18, 2008 @09:22AM
(#402120)
Don't forget idioms, such a book should also include programming idioms, so you don't end up writing Java code in Python, etc.
Re:Ask HN: What do you think of Objective-C?
by friism on Thursday December 18, 2008 @04:03AM
(#401969)
For C# and Java, I can recommend Peter Sestofts Precisely books. They're short and to the point:
http://www.itu.dk/~sestoft/javaprecisely/
http://www.itu.dk/~sestoft/csharpprecisely/
(Author is my thesis advisor, so beware)
Re:Ask HN: What do you think of Objective-C?
by potatolicious on Thursday December 18, 2008 @03:28AM
(#401951)
I think there are some website guides out there (Google for 'em) that do a good job of introducing Obj-C to C++ coders.
That's an excellent idea. Why don't you start writing them? I'll be your first customer.
Re:Ask HN: What do you think of Objective-C?
by gtufano on Thursday December 18, 2008 @06:23AM
(#402026)
You can learn Objective-C in about 5 hours, true (probably less, if you know C and C++). The point being that Obj-C without NSObject (and cocoa framework) is not a big deal. The "good things" come from cocoa and Interface Builder. And you will need more than a few hour for cocoa.
Obj-C by itself is C with a very thin OOP layer (and an associated frankly strange syntax for calling methods). Cocoa is a very interesting programming framework with wonderful programming tools.
Re:Ask HN: What do you think of Objective-C?
by stcredzero on Thursday December 18, 2008 @08:40AM
(#402103)
I finally understand MVC! Cocoa makes really good use of Controllers. Even in a lot of the Smalltalks, controllers languish a bit.
The syntax for calling methods is from Smalltalk, BTW. It's just different. It makes the method names document the arguments.
If you have programming experience, you should be able to learn 99% of Objective-C in about 5 hours.