Re:Trying New Programming Languages Helped Me Grow as a Soft...
by ok123456 on Sunday October 16, 2022 @02:48PM
(#33226116)
Problem is the mono C# compiler is several years behind Roslyn in terms of features. It's pretty much a non-starter if you don't have nullable types in 2022.
[ Parent
| on HN ]
Re:Trying New Programming Languages Helped Me Grow as a Soft...
by Jtsummers on Sunday October 16, 2022 @03:08PM
(#33226295)
https://dotnet.microsoft.com/en-us/download
Works fine on non-Windows systems (well, Linux and macOS at least) IME and isn't several years behind.
Re:Trying New Programming Languages Helped Me Grow as a Soft...
by hardware2win on Monday October 17, 2022 @03:06AM
(#33230560)
Dont use Mono
Also I think you are giving nullable ref types too much credit
Re:Trying New Programming Languages Helped Me Grow as a Soft...
by ok123456 on Monday October 17, 2022 @09:59AM
(#33233590)
I don't think you're giving them enough credit.
Having the type system be able to tell you that you may have a null reference exception in a complicated code base is magic. I've inherited bad code bases and refactored them to use nullable references and watched lots of bugs fall out.
Re:Trying New Programming Languages Helped Me Grow as a Soft...
by hardware2win on Monday October 17, 2022 @04:04PM
(#33238838)
I'd rather use Result<T> everywhere