3 ms·
> Functional programming is also seeping in but again tons of boiler plate. The bar has moved so much on this one. I remember when C#'s wonderful lambda syntax
by com2kid 9y ago
> Functional programming is also seeping in but again tons of boiler plate.
The bar has moved so much on this one. I remember when C#'s wonderful lambda syntax, along with all the extension methods that LINQ added, qualified it as having pretty good functional programming support. Now that other languages have gone out and copied sane lambdas, and "Map" is in libraries left and right, C# has to keep reaching for that higher and higher bar.
- louthy 9y agoWhat does the higher bar look like to you? For me, the major missing features of C# are: * Immutable record types * ADTs with completeness pattern matching * Higher-kinds F# is also missing higher kinds, but can do the others. Did you have something else in mind?
- pjmlp 9y agoNone of them makes me write prettier GUIs or better use of EF.
- naasking 9y agoActually, higher kinds could make you write more composable and reusable GUIs. I don't see why "prettier" is the only metric of interest. Immutable records also makes it easier to share data safely, thus making scaling across cores easier in some cases, without worrying about plan interference.
- pjmlp 9y agoHow do you suggest to make use of higher kinds in Blend? Immutable records are already possible today in C#, even if a bit more verbose than on F#, plus EF code is anyway mostly generated.