3 ms·
Comparing to: 1. search for a package that does X 2. scan the search result and find the package that really does X 3. learn to use the package's API 4. imp
by zzyzxd 4y ago
Comparing to:
1. search for a package that does X
2. scan the search result and find the package that really does X
3. learn to use the package's API
4. import the package in the code
5. use it
Isn't it much easier to just copy-paste code from stackoverflow? There's also a good chance that the you can get some very good explanation and interesting discussion around the implementation there.
- ratww 4y agoWell, yes. There's also Github Copilot, which pretty much replaced almost my entire usage of Stack Overflow. But the thing is that with a rando package is that one doesn't have to review the code. Sure, the code is also coming from somewhere else. Sure, it might never get updated. Sure it might be full of bugs. Sure, it might be more dangerous than copying from StackOverflow. But out of sight, out of mind. In the end the overuse of packages isn't about saving time or "doing the best for business" or "ensuring that the code is maintained by someone else". It's purely about covering our asses.