3 ms·
What features do you see as crazy?
by dgellow 6mo ago
What features do you see as crazy?
- munchler 6mo agoAll the weird cruft around nullability, for starters. Once again confirming that allowing null references is usually a mistake.
- dgellow 6mo agoDo 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 6mo agoYes, all that stuff. I try to stick to F# where no special syntax is required for missing values (via Option<T>).
- setr 6mo agoGiven that they already made the billion dollar mistake, I find their handling for nulls the best possible thing they could do at this point. I’d hardly call it crazy — rather, it’s exceedingly pragmatic.
- vips7L 6mo agoPersonally I prefer T? over Option[T]. Monads just add extra typing and destructuring for no reason. It’s definitely the pragmatic choice.
- vips7L 6mo agoMaybe not crazy but the language just has a really broad surface. I find it to be like the Scala of the OO world.