News for hackers. Stuff that matters.
Re:Ty: A fast Python type checker and language server by dathinab on Wednesday May 07, 2025 @05:25PM (#43920722)
IMHO they created type annotations, not a type system

and how you use the type annotations to indicate a type system is inconsistent and incomplete (e.g. NoneType vs. None for inconsistency and a lot of mess related to mataclasses (e.g. Enum) and supporting type annotations for them for incomplete)

the fact that even today something as fundamental as enums have issues with type checking _which are not just type checker incompetence_ is I think a good way to highlight what mess it is

or that `Annotated[]` was only added in 3.9 and has a ton of visual overhead even through its essential for a lot of clean definitions in modern python code (where for backwards compatibility there is often some other way, which can be de-facto wrongly typed but shouldn't be type linted, have fun type checkers).

Re:Ty: A fast Python type checker and language server by simonw on Wednesday May 07, 2025 @05:37PM (#43920817)
Parent comment was talking about TypeScript, not Python.