DEV Community

Discussion on: I "Love" Anti-patterns

Collapse
 
lukebarratt profile image
Luke Barratt

Some parts of your code become obscure as you don't actually know how they work.

THIS. I copied some code once for a JS slider game and was then asked why I'd done it like that. It was embarrassing. Plus when I actually understood the code it made me a better developer.

Collapse
 
levimoreira profile image
Levi Albuquerque • Edited

Exactly! We can learn a lot from copy and pasting, we just need to take some time to understand the code :)
Thanks for reading ;)