4 ms·
There's a couple notable omissions from C#5, with respect to what was implemented in VB.Net. - No anonymous iterator functions. They are useful for correctly i
by Strilanc 15y ago
There's a couple notable omissions from C#5, with respect to what was implemented in VB.Net.
- No anonymous iterator functions. They are useful for correctly implementing iterators with eager validation and lazy iteration.
- No type inference when assigning an anonymous function to a local. Determining and typing out a function's type is incredibly slow compared to just 'var'.
- magic_haze 15y agohmm.. I agree, (1) definitely is a common pattern, and it is often annoying to write a separate function just to do the lazy iteration. Also really needed: code contracts within delegates. You can write them now, but the tool can't recognize them yet.
- sixothree 15y agoAn ~60x240 box hovering over the text with only the word 'tweet' in it.