Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

For python you can use type annotations with an external type checker such as mypy or flow for js.

To implement type checking in js or python would add a layer of unparalleled safety for a fraction of the development time involved with unit tests.

Yet I would say 90% of developers are unaware of this contradiction and go on piping about the extreme importance of unit tests while completely ignoring type checking. They value safety but are too naive to know what safety means.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: