D2 Closure

Nathan Tuggy bugzilla at nathan.tuggycomputer.com
Sun Feb 21 23:25:19 PST 2010


On 2010-02-21 21:50, Nick Sabalausky wrote:
> VBScript (Or maybe it's just VB6. Not sure about VB.NET) allows the above by
> doing this:
>
> f (a, b, , , e)
>
> That's the one thing about VB that I actually kinda liked. Of coruse, it may
> not be a perfect approach, but at least you *can* leave middle params as
> default.

Yeah, I like that feature too (I have to use VB a lot for work; I freely 
admit to being something of a "quiche-eating" programmer, with 
aspirations to D). Note that VB 4-6 (and probably earlier), VBScript, 
and VB.NET all allow that syntax. In fact, C# programmers apparently 
liked it as well; it's a feature that was recently added to C# 4, which 
is still in beta.

-- 
‖ Insert clever saying here
 ‖ http://tagzilla.mozdev.org v0.066



More information about the Digitalmars-d mailing list