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: Rick Mann <email@hidden>
- Date: Sun, 14 Jun 2015 13:53:53 -0700
> On Jun 14, 2015, at 04:56 , Maxthon Chan <email@hidden> wrote:
>
> I actually don’t use C++ with Objective-C - in fact, I flat out hate it from the half year being forced to use it in a CS course. Actually I even created a rough Foundation clone and migrated almost all programming paradigms from Objective-C to C++. Compare this:
>
> CCArray *array = CCArray::alloc().init(object).autorelease();
>
> and this:
>
> NSArray *array = [[[NSArray alloc] initWithObject:object] autorelease];
Actually, that's now:
NSArray* array = @[ object ];
--
Rick Mann
email@hidden
_______________________________________________
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: Quincey Morris <email@hidden>) |