Re:Effect of Perceptual Load on Performance Within IDE in Pe...
by formulathree on Friday July 14, 2023 @01:11PM
(#36726815)
Yes. This was a huge surprise to me too. Everybody loves typescript but basic usage of types in typescript is actually less powerful because it doesn't support this.
You have to use it in a specific way though.
https://tech.preferred.jp/en/blog/python-exhaustive-union-ma...
Regarding ADTs: do type checkers ensure totality (all cases covered) when pattern matching?
(I’m not casting aspersions here. It is what it is, you know?)