Hacker News new | ask | show | jobs
by koolba 899 days ago
> Unfortunately you can't treeshake a language that supports reflections.

I’m pretty sure that’s exactly what the Google Closure Compiler does: https://developers.google.com/closure/compiler/docs/limitati...

Though it has a ton of restrictions on how you write code and how you can use reflection.