Re: Language options: Objective-C, Swift, C or C++?
Re: Language options: Objective-C, Swift, C or C++?
- Subject: Re: Language options: Objective-C, Swift, C or C++?
- From: Uli Kusterer <email@hidden>
- Date: Sat, 13 Jun 2015 12:13:11 -0700
On 12 Jun 2015, at 17:51, Maxthon Chan <email@hidden> wrote:
> News outlets says that Objective-C is quickly falling out of people’s attention and developers are turning away from it to Swift and C++. So what language will you use to code various parts of your new project? Objective-C? Swift 2? C++? Or the good old plain C?
All of them. It is expected of me to learn languages, find out what they’re good for, and apply the right tool to the right job.
With the advent of C++11, C++ has become a really nice OO language (and C++14 even more so). Swift 2’s Protocol extensions look like they solve so many problems in an elegant way that I can’t wait to get more familiar with it (I’m still learning those, so opinion subject to change). ObjC has a much lower impedance mismatch with Apple’s current frameworks and is what most of my existing code is in, which I can’t just throw away.
I don’t have the luxury to ship anything written in Swift at the moment (system requirements, already-sold units in the field and the lack of a convincing C++/Swift integration story limit me there), but I’m familiarizing myself with it. Learning Swift has already helped my C++ and ObjC code to become better, just due to new design patterns I’ve been exposed to.
Cheers,
-- Uli Kusterer
“The Witnesses of TeachText are everywhere...”
http://zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden