PDA

View Full Version : Objective-C 2.0: How big is the change?




Objectivist-C
Mar 5, 2007, 04:53 PM
I'm planning to get into Cocoa programming in the near future. Would I be better off holding out for Leopard and Obj-C 2.0 before getting into the thick of things? Also, what do you think the odds of Kochan's book getting an update are?



robbieduncan
Mar 5, 2007, 05:06 PM
All the new features are optional. If you are not an experienced or confident programmer I'd wait. Garbage collection takes all the worry and danger of memory management out of your hands. For each loops are syntactic sugar. Properties are shorthand.

Basically it'll save you writing a lot of code and if you use gc might make your code less likely to crash.

caveman_uk
Mar 6, 2007, 02:41 AM
The new stuff won't stop anything you learn now from being useful. Maybe the Obj-C 2.0 stuff will be a better way of doing it but learning the 'old' stuff wouldn't be a waste of time.

gnasher729
Mar 6, 2007, 08:05 AM
I'm planning to get into Cocoa programming in the near future. Would I be better off holding out for Leopard and Obj-C 2.0 before getting into the thick of things? Also, what do you think the odds of Kochan's book getting an update are?

You've got plenty of things to learn that won't change. There is no point in waiting. You will be more productive with Objective C 2.0 compared to 1.0, but you will be much much much more productive using 1.0 compared to waiting for a newer version.

Soulstorm
Mar 6, 2007, 02:43 PM
I'm planning to get into Cocoa programming in the near future. Would I be better off holding out for Leopard and Obj-C 2.0 before getting into the thick of things? Also, what do you think the odds of Kochan's book getting an update are?

That way of thinking is wrong, in my humble opinion. Learning old features never hurts. Besides, it may get a while to programmers to write a decent book explaining all the new features of Obj-C in detail. My suggestion is to learn Obj-C now, and when Leopard is released, visit the ADC reference Library and see all the new features.

Catfish_Man
Mar 8, 2007, 11:00 AM
The nice thing about learning ObjC1 first, then learning the new 2 features is that you'll be all happy about them instead of "eh, ok, that's how it works".

cblackburn
Mar 9, 2007, 05:05 AM
Is there an Apple sanctioned list of all the Changes in Version 2.0?

Chris

caveman_uk
Mar 9, 2007, 05:13 AM
The only stuff that Apple's released AFAIK that's not under NDA is here

http://developer.apple.com/leopard/overview/tools.html

There is however a more detailed list here

http://andymatuschak.org/articles/2006/08/27/clues-to-objective-c-2-0

It's a pretty good summary. Some things are missing but as ADC members that have the seeds are under NDA they can't really say much more.