3 ms·
Type safety won't help with user input!
by dirtydroog 7y ago
Type safety won't help with user input!
- gameswithgo 7y agothe use of option and return types instead of nulls and exceptions does help a bit. you can’t forget to deal with the failure cases.
- ShinTakuya 7y agoWhat? This is one of the areas where type safety truly shines. Type safe languages force you to confirm the nature of the input and deal with the edge cases.