loading...

re: 6 Questions to ask yourself before copy-pasting code VIEW POST

FULL DISCUSSION
 

Just ask one: What the hell am I doing?

 

An actual tip though, even if you think you've found a snippet of code that does exactly what you want, type it out by hand. It'll help it sink in and improve your recall should you need to do something similar again. Usually, I find when typing it out that I want to change how it works too.

 

Oh that's a good one!

 
Code of Conduct Report abuse