Skip to content
loading...

re: Do You Copy And Paste Code? VIEW POST

FULL DISCUSSION
 

I'm personally on board with copying and pasting code with the caveat that you understand it. You could even argue that it's not a huge jump from that to using an OSS dependency. I mean, in both cases you're using someone else's code to accomplish something in your project. In both cases, if you don't understand the code you're using, you're opening yourself up to issues like incompatibility or malicious behavior (like the recent event-stream fiasco).

Reading other people's code is a great way to learn. Including unvetted and not-understood code is asking for trouble, imo.

code of conduct - report abuse