request switch statement with common block

Andre Artus andre.artus at gmail.com
Tue Aug 6 06:35:51 PDT 2013


On Tuesday, 6 August 2013 at 07:44:46 UTC, QAston wrote:
>> I was under the impression that D has nested functions, unless 
>> by inner function you mean something else.
>
> Yeah, pardon my terminology.

Not an issue, they normally mean the same thing. I believe JS's 
use case can be covered easily and clearly using a nested 
function taking a void delegate. With the not insubstatial 
benefit of being easier to debug.


More information about the Digitalmars-d mailing list