Hacker News new | ask | show | jobs
by TazeTSchnitzel 3773 days ago
PHP doesn't have tree-shaking, as it isn't compiled, but it does have autoloading: the source code files for classes are only loaded from disk when they're instantiated. This is probably similarly beneficial.