Apple Blocks added to C++?
Walter Bright
newshound1 at digitalmars.com
Wed Sep 2 00:23:42 PDT 2009
Nick Sabalausky wrote:
> "Walter Bright" <newshound1 at digitalmars.com> wrote in message
> news:h7l32i$ev$1 at digitalmars.com...
>> S. wrote:
>>> I was wondering what other people thought about this addition to C++ by
>>> Apple. Heh.
>>>
>>> http://arstechnica.com/apple/reviews/2009/08/mac-os-x-10-6.ars/10
>>
>> I find it strange that people are continuing to reinvent nested functions
>> in ugly ways.
>
> No offense, but Ruby and Python users would probably get a good chuckle at
> hearing the D creator saying that ;)
Perhaps they would, but I think they would agree that a nested function
should follow the same syntax as a regular function.
> But in the case of C/C++, I consider it a minor miracle that they were able
> to pull it off without making it 10x uglier than what they actually ended up
> with.
For C++0x it's unnecessarily complicated - and they still don't have
just plain old nested functions. C has no nested functions.
More information about the Digitalmars-d
mailing list