Re:How an Engineering Company Chose to Migrate to D
by junke on Wednesday June 20, 2018 @11:44AM
(#17356437)
The only difference I see is if you need recursive local functions, which is harder (but not impossible) to do with anonymous closures.
[ Parent
| on HN ]
Re:How an Engineering Company Chose to Migrate to D
by WalterBright on Wednesday June 20, 2018 @02:33PM
(#17358259)
Recursive nested functions in D just work - the hidden parameter to the enclosing frame forms what's called a "static link". A "dynamic link" would be the usual pointer to the previous stack frame (not the enclosing stack frame).