Content deleted Content added
Rationale for my edits |
Blaisorblade (talk | contribs) →Relation to GCC nested functions: new section |
||
Line 12:
I agree with both of these criticisms, I've removed the latter passage entirely and clarified the former. I've removed some non-sequiturs ("Blocks introduce a derived type into the language." Fabulous!) I also removed the misleading reference to C++ lambdas. C++ lambdas differ from blocks in far more than syntax. A comparison would be appropriate, but it must compare more than just the superficial. This article still needs a rewrite/expansion, but it's now more accurate and less misleading. -[[Special:Contributions/76.254.63.45|76.254.63.45]] ([[User talk:76.254.63.45|talk]]) 00:21, 25 October 2009 (UTC)
== Relation to GCC nested functions ==
The article should probably also describe the differences with GCC's Nested functions:
http://gcc.gnu.org/onlinedocs/gcc-4.0.4/gcc/Nested-Functions.html#Nested-Functions
I went to look it up, thinking that they were the same, but then realized that nested functions, unlike closures, cannot be called after the containing scope has exited.
--[[User:Blaisorblade|Blaisorblade]] ([[User talk:Blaisorblade|talk]]) 10:40, 26 April 2010 (UTC)
|