Hacker News new | ask | show | jobs
by sgift 1823 days ago
> This principle can be applied to dynamic languages as well if you have some mechanism such as type hinting, pre-conditions etc. that are checked by a linter during development, even if it isn't, you can still use it at runtime with sufficient error handling.

Every time I read something like this my mind translates it to "after building an ad-hoc compiler you can do all the things a compiler can do. Just not as well, but you can do it." -- Same with "I don't need a compiler, my tests stop all this kind of bugs"

1 comments

I know of the advantages of static typing and very much appreciate them. My point was more about how the concept in the article may be translated to other types of tooling.