Re: Block variable syntax related question
Re: Block variable syntax related question
- Subject: Re: Block variable syntax related question
- From: Eric Wing <email@hidden>
- Date: Sat, 10 Sep 2011 14:38:54 -0700
On 9/9/11, Sean McBride <email@hidden> wrote:
> On Fri, 9 Sep 2011 14:47:55 -0700, Jens Alfke said:
>
>>Bit of a tangent, but as C’s had a native ‘bool’ type for a decade+ now,
>>is there some reason Cocoa can’t switch to using it instead of BOOL?
>>Like, make BOOL a typedef for bool? Or would that introduce too many
>>compatibility problems? Or short of that, would there be a problem if an
>>app were to switch to using bool in its own code?
>
> It's a pet peeve of mine. :) I think about it every time someone says Obj-C
> is a superset of C. :)
>
> My bug is rdar://6510042. A little birdie told me there are only 6 dupes.
> :(
>
I filed mine before Obj-C 2.0 shipped (10.4 era) and suggested if
32-bit was a problem, they could focus on only 64-bit since there were
no backwards compatibility issues at the time. It is still marked
'Open'.
rdar://4737158
The lack of using a real bool in Cocoa frameworks is also a real pain
for language bridges like Ruby and Lua.
-Eric
--
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden