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: Quincey Morris <email@hidden>
- Date: Sun, 14 Jun 2015 02:27:43 +0000
On Jun 13, 2015, at 19:06 , Carl Hoefs <email@hidden> wrote:
>
> many of which could be added to ObjC,
In a lot of cases, they *can’t* be added to Obj-C, because Obj-C *is* C. That is, if you restrict yourself to the C parts of the language, it’s C99-conformant. That limits syntax in the language generally.
If you dropped the conformance requirement, that might provide syntactical “room” to add lots of language features, but if you’re gonna do that, why not take a longer look at what else you can improve at the same time, and … four years later … you get Swift.
[That’s a bit simplistic, but I think that’s more or less what actually happened.]
> I guess I was trying to find the main, overwhelming purpose driving the adoption of Swift
I’m not sure that Swift gives this yet, but looking at the documentation and videos, I’d express at least the *promise* as something along these lines:
— Half the typing
— Half the bugs
— Half the development time
— Double the app performance
You can be skeptical about this. :)
_______________________________________________
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
References: | |
| >Re: Language options: Objective-C, Swift, C or C++? (From: Roland King <email@hidden>) |
| >Re: Language options: Objective-C, Swift, C or C++? (From: Quincey Morris <email@hidden>) |
| >Re: Language options: Objective-C, Swift, C or C++? (From: Graham Cox <email@hidden>) |
| >Re: Language options: Objective-C, Swift, C or C++? (From: Michael David Crawford <email@hidden>) |
| >Re: Language options: Objective-C, Swift, C or C++? (From: Carl Hoefs <email@hidden>) |
| >Re: Language options: Objective-C, Swift, C or C++? (From: "Gary L. Wade" <email@hidden>) |
| >Re: Language options: Objective-C, Swift, C or C++? (From: Quincey Morris <email@hidden>) |
| >Re: Language options: Objective-C, Swift, C or C++? (From: Carl Hoefs <email@hidden>) |