Re:Pyre: Fast Type Checking for Python
by aero142 on Friday May 11, 2018 @01:46PM
(#17049363)
I think describing these as static type systems is a bit limiting. I prefer to think of them as static code analyzers. They don't change anything about the representations in memory, but they do validate invariants about the code. I actually hope we start seeing systems that validate invariants that are not type based like "SQL Injection Safe SQL Query" and "Range between 10-100".
[ Parent
| on HN ]
Re:Pyre: Fast Type Checking for Python
by dragonwriter on Friday May 11, 2018 @01:51PM
(#17049400)
> I actually hope we start seeing systems that validate invariants that are not type based like "SQL Injection Safe SQL Query" and "Range between 10-100".
Both of those can be types in a rich enough type system; the latter is a fairly common example for dependent types, for instance.