Re:Erg: a statically typed language that is Python compatible
by smabie on Sunday August 14, 2022 @03:34AM
(#32457269)
The number of "# type: ignore" comments I've seen in all python codebases that use mypy seems to disagree. mypy is laughably primitive compared to advanced static typing systems: Rust, Haskell, OCaml, etc
[ Parent
| on HN ]
Re:Erg: a statically typed language that is Python compatible
by joshuamorton on Sunday August 14, 2022 @07:12PM
(#32464039)
> mypy is laughably primitive compared to advanced static typing systems
I don't disagree, but that's not an argument I ever put forth! (and I actually sort of disagree a little bit, mypy has/is getting a bunch of really cool powerful features that put it in the realm of "as cool as" those languages: PEPs 544, 586, 591, 647 (this is a weak form of contract types!), 675 (~constexpr string type), 646 (variadic generic/numeric dependent types!))