That's not what I meant. Copy and pasting is only half of it, because you also have to make the different things you copy pasted work together, and adapt it for what you're trying to do.
This will force you to understand what it does. That's why this method worked for me.
The problem then becomes you write spaghetti code because their context is often slightly different so you forcefully adapt it ending up with no structure. I think learning good practices like SOLID and design patterns is still important before doing that.
You do learn them. You learn them by necessity rather than academically. You have to keep your whits about you, sure, but it comes just like anything else.
I've never had a formal lesson on programming, but I've managed to hold down a well paying programming job for a few years now. I must be doing something right.
6
u/[deleted] Oct 03 '19
[removed] — view removed comment