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

Tree-shaking really only works for languages that are designed to be tree-shakable, which no web language is.


Type/JavaScript are extremely tree shakable if using esm.. what makes you think it's not?


Only at the most crude level. Ever heard of "virtual functions"?


Runtime polymorphism is great but I wouldn't consider that to be tree shaking.




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

Search: