Is it okay to copy code to learn?

Where this can be bad, is when you are copying code that you don’t understand, or where the code is poor, or where there is a much better alternative solution than the code that you are pasting. Inside the same project: Copy and pasting in the same project is typically not a good idea .

Read more