Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
52cal4732yI do this, so do many smart developers I know. Why would I try to reinvent the wheel? I need some code to capture and upload video-do I pull in a tested, maintained and up to date library or spend a week trying to write it myself? You can (and should) read through the source code of the lib too. Stand on the shoulders of giants!
karelian3902yitertools-more for python
lodash for js
So here I am promoting darling libs when OP asks for advice on how to *stop* using libs.
But seriously, anything beyond rich, functional, composable routines for the base language data structures is just adding cruft imho.
The vast majority of the rest of libs worth a look are highly specialized computation / IO abstractions.
The rest are just code organizers.
Well, I don't get paid to write beautiful libraries. I get paid to build a solution for a business problem. If I can retrofit a library or framework to get the job done, that's what I do.
That doesn't mean that I don't write libraries. There are issues with every framework or library. You can write extension libraries to fix those. But that you can do only if you understand how the framework or library works behind all those abstraction layers.
Or if that shit doesn't exist, then I write it. Because that still is part of solving the business problem. But in hard mode ;)