2 ms·
If you haven't even used any of the libraries, how do you know whether they help or give less "satisfactory" results?
by gojomo 18y ago
If you haven't even used any of the libraries, how do you know whether they help or give less "satisfactory" results?
- axod 18y agobecause using any library is always going to be less optimal than a custom solution. When I started learning js I just decided it would be worth more to learn js, rather than any library. Now I know js there seems little benefit on learning one of the js libs. Of course this is all just my personal opinion and experience.
- gojomo 18y agobecause using any library is always going to be less optimal than a custom solution I strongly disagree. The library authors, and fellow users, have discovered and worked-around browser and Javascript gotchas and performance bottlenecks that it could take you years of custom work to independently discover.
- axod 18y agoNot really true. And you can always look at the source of libraries if there do happen to be some gotchas or bottlenecks (I think the number of these is really overstated). The issue is, they make general libraries that cover hundreds of use cases. Because they cover that many, they are very general, and useful to lots of people, but they are non-optimal. They have extra things you won't need. They have extra arguments to functions you don't need. Bloat.