News for hackers. Stuff that matters.
Re:Effect of Perceptual Load on Performance Within IDE in Pe... by mattgreenrocks on Friday July 14, 2023 @12:23PM (#36726152)
The problem is less the language and more the culture around it. Typing will always be second-class, culturally. Additionally, mypy feels much slower to use versus something like Rust’s ‘cargo check’.

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?)

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...