News for hackers. Stuff that matters.
Re:Things I Was Wrong About: Types by easton on Sunday September 27, 2020 @06:33PM (#24610720)
Python’s type hinting is specifically designed for this use case: https://docs.python.org/3/library/typing.html

Also, TypeScript is designed to work the same way, as it can coexist with untyped JavaScript code as you introduce it to the code base (it still has to run through a compiler, of course).

There are no comments on this comment yet.