2 ms·
Yeah, because they're probably using libraries that are heavily using those keywords under the hood, in order to supply functions with the correct 'this' contex
by osrec 4y ago
Yeah, because they're probably using libraries that are heavily using those keywords under the hood, in order to supply functions with the correct 'this' context.
- lolinder 4y agoThat doesn't change the fact that if you're not a library author you should probably avoid using that feature. It's not that the feature shouldn't exist, it's that it's now best used in plumbing code, not in application code.
- ehnto 4y agoI think you are imagining a dichotomy of use cases that doesn't really exist. Not everyone is writing software by gluing libraries together, and so there are still plenty of uses for it outside of libraries.