Remix.run Logo
vips7L 5 hours ago

Union/sum types are generally a good thing. Even Java added them. They tend to be worth “the madness”. Now the rest of all the crazy C# features might be a different question.

dgellow 5 hours ago | parent [-]

What features do you see as crazy?

munchler 5 hours ago | parent | next [-]

All the weird cruft around nullability, for starters. Once again confirming that allowing null references is usually a mistake.

dgellow 4 hours ago | parent [-]

Do you mean the implicit nullable types? Now that you can make nullable explicit instead I really don’t have much issues with it. It is part of the type system, as it should, and you have null coalescing operators. Is it still problematic or are you dealing with older codebases where you cannot set the nullable pragma?

munchler 2 hours ago | parent [-]

Yes, all that stuff. I try to stick to F# where no special syntax is required for missing values (via Option<T>).

vips7L 4 hours ago | parent | prev [-]

Maybe not crazy but the language just has a really broad surface. I find it to be like the Scala of the OO world.