|
|
|
|
|
by 1-more
358 days ago
|
|
> in a real IDE because of all the screaming it does about "value can be null" Yeah, when you have extra tools like that it can certainly help. The thing is that you can ignore any warning! I like it to be a compiler error because then there's no way to put that on the tech-debt credit card and still pass CI. If you are able to put those warnings into your CI so a PR with them cannot merge, then that's like 99% of what I like in my code: make the computer think of the low-hanging-fruit things that can go wrong. With all of that said, solving for null does not get you everything a tagged union type does, but that's a different story. |
|