DEV Community

Discussion on: How did you get out of the habit of copying/pasting code?

Collapse
 
dansyuqri profile image
Muhammad Syuqri

That does make sense. The reason why I thought copying is bad is because I have always thought that creating your own patterns and being able to code out solutions to existing problems are what defines a good developer.

But when you put it into those two perspectives, it does not sound bad at all. Rather, it contributes to the learning process.

Thanks for the input :D

Collapse
 
nateous profile image
Nate

Copying a good pattern isn't bad. I've been developing for over ten years and I still copy good patterns from others. Just make sure you understand what you are copying. Next time you'll be able to use that solution from memory! Or better yet, improve it for your specific need.