July 2008 Entries

Lambda expression improvements

WARNING: This is a speculative post. Caveat emptor. I haven't finished reading through all the comments from my previous post yet, but I did think it was worth stating that we are considering improvements to lambda expressions in the next version. Specifically, we're looking at allowing single-line lambdas that don't actually return anything, something like:Dim x = Sub() Console.WriteLine(10) This was something we wanted to support in 2008, but just ran out of time for. We're also thinking about multi-line lambdas that contain statements instead of just a single expression. So something along the lines of:Dim y = Function(x) ...

Design meeting Channel9 interview...

While I was out on vacation last week, Beth posted a video that she did at one of our language design meetings on Channel9. Check it out. If you get confused about the joke about the gray shirt, Beth also explains that on her blog. I had a little more to say in this video than I did in the one of the design meeting that I go to as a guest...

A little update on VB10 thinking...

WARNING: This is a speculative post. Caveat emptor. It's been a while since I've had much of anything to say about our thinking about VB10 (well, it's been a while since I've had much of anything to say) and I wanted to give a quick update on our thinking: Implicit line continuations: we're still considering it. Automatically implemented properties: we're still considering it. Implicitly implemented interfaces: we've put this on the back burner. The feedback we got on my post was helpful in identifying problems with the idea and it seems like we have bigger fish to fry. Collection...