Skip to content

re: Do You Copy And Paste Code? VIEW POST


Here's a trick I learned. Instead of straight copying and pasting the snippet, type it all out. You'll be much more likely to understand the code this way. If there's something you don't understand, pause and find out why it works. Don't just copy pasta. If you find yourself using the same snippet over and over, put it in a function or method call. But please, don't just copy pasta, meatballs and everything.


Copy Pasta... This is one new Pasta flavor and seems to be an interesting one


Typing it out really does help. Sometimes that's how I figure out what the code is actually doing. But you're right. It's usually never a good idea to just copy pasta. 🙂

code of conduct - report abuse