4 ms·
I would love for C# to get rid of "new" as F# does -- why do we need it? var p = Point(3,5). For cases like this it's no big deal, but deep/complex initalizer
by thelazydogsback 6y ago
I would love for C# to get rid of "new" as F# does -- why do we need it?
var p = Point(3,5).
For cases like this it's no big deal, but deep/complex initalizers (like expression trees, etc.) look horrible in C# unless you create static helper fn's to init objects.
- oaiey 6y agoConsidering that MAUI MVU layer is doing a SwiftUI copyjob, that would be advisable. Swift also dropped new at the same time when SwiftUI came out.