Skip to content

Comment on Dead Code Elimination for Beginnersparent

Comments

Static typing (and especially type inference) is useless in a web scripting language. Every time you load a new script, you would have to re-compile all the previously loaded scripts as a unit, and in the worst case throw away all existing state (pretty much equivalent to reloading the page).

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.