This business where expression results are implicitly discarded from statements is just insane in the 21st century. So much information loss just waiting to happen without even a warning.
- no way to implement interfaces or abstract classes using an expression, meaning stupid extra classes
- no implicit construction for classes (to give another form of closure capture for object imlpementations)
- dynamic is hell waiting to destroy your life
- no primitives for delegate composition leads to endless switching between objects and delegates for composition
This one is particularly bad with this "one class per file" nonsense. Really, to implement an interface for some localised logic I need to create a new file? Come on....
This is just me letting off steam after an intense week working on some C# code - work I've been happy to do and have found satisfying :-)))
But all of the above are F# 1.0 features, and each are, on their own, critical enough that IMHO no one should program without them.
C# just still has a long way to go....
- lvalue capture in delegate closures is really subtle (i.e. outer 'var' can be mutated in closure). There were multiple times this week when I almost inserted a really subtle bug because of this. This deserves a warning too.