3 ms·
You may start to get a point when C# gets a two-directional type inference system. As it's now, any functional-looking code requires so much boiler plate that i
by marcosdumay 2y ago
You may start to get a point when C# gets a two-directional type inference system. As it's now, any functional-looking code requires so much boiler plate that it's shorter and less bug-prone to copy your functions code everywhere you want to use them.
- int_19h 2y agoCan you give an example of said boiler plate?
- DeathArrow 2y agoUsing OneOf library or something similar instead of discriminated unions / sum types. Trying to use a functional pipeline instead of DI.
- marcosdumay 2y agoJust try to make any generic high order function in C#. Any one you can think of.