DEV Community

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

Collapse
 
kspeakman profile image
Kasey Speakman

Copy/paste is not a good design strategy, but it does have its place. Here is an explanation of the Ginger Cake pattern by Dan North. I can't explain it better than he did in the video. The whole talk is worth watching.

Collapse
 
dansyuqri profile image
Muhammad Syuqri

Wow I didn't know there is such a pattern! Thanks a lot for sharing! Learning something new everyday :D