Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Future JavaScript: what is still missing?. Parent comment
In class oriented languages like C# and Java, sure. JS with ES modules has the alternative of using functions exported directly from a module.
The latter approach has the benefit of better tree shaking than the class based equivalent.
There are no comments on this comment yet.
In class oriented languages like C# and Java, sure. JS with ES modules has the alternative of using functions exported directly from a module.
The latter approach has the benefit of better tree shaking than the class based equivalent.