DEV Community

Discussion on: Lodash and Underscore, is there still a case?

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

Your first point reminds me of the awquard case of the JavaScript Map, although vastly superior with an API just like you describe, nobody seems to use them despite the ease of use and performance improvement.

I don't really disagree with anything you say. Thanks for chipping in.

Collapse
 
ahferroin7 profile image
Austin S. Hemmelgarn

nobody seems to use them despite the ease of use and performance improvement.

There are a lot of sites that transpile down to earlier versions of ECMAScript revisions. In such a case, there's no performance benefit to using new features, and quite often they actually make performance worse. I suspect that's a large part of it, and we'll probably see usage of some of these features pick up more as Internet Explorer and Opera Mini finally die off.

Thread Thread
 
adam_cyclones profile image
Adam Crockett 🌀

That's fair. I do wish that the web would move a little faster in some areas. Browsers being one of them. And an approximation of a thing is not a real thing. I gues I'm just talking in an ideal world scenario.

Thread Thread
 
ahferroin7 profile image
Austin S. Hemmelgarn

I mean, Opera Mini really is dead already for most purposes if you aren't dealing with some really big site. IE is still hanging on, but mostly corporate usage and not 'normal' users.

It's well within reason to just refuse to support either if you're doing something small. The issue is that people don't choose to do that, or they just kind of decide to use Babel without thinking (and thus make the site slow for all their actual users who aren't using browsers that need old JS).