3 ms·
> Do not reinvent the wheel to solve problems that can't be solved in much cleaner and nicer ways. Managing dependencies can be annoying, but we all bite the bu
by thousande 13y ago
> Do not reinvent the wheel to solve problems that can't be solved in much cleaner and nicer ways. Managing dependencies can be annoying, but we all bite the bullet for a very good reason, because reusing solid well tested code is a good thing.
This.
A thing that the examples on that site did not address is the power of jQuery("element.selector") selects a "bucket"/array of elements and functions are executed on each element in that bucket.
So now you may have to add that functionality into your library.
Then there is always a non-logical browser inconsistency that needs to be taken care of. Then you need to write tests.
Time used for managing the library piles up very fast.
Also, https://news.ycombinator.com/item?id=7154917 https://news.ycombinator.com/item?id=7154917