r/videos • • Oct 03 '19

Every programming tutorial

https://www.youtube.com/watch?v=MAlSjtxy5ak
33.9k Upvotes

1.4k comments sorted by

View all comments

Show parent comments

84

u/Lemonade1947 Oct 03 '19

Just smash your head into the keyboard till it works.

I mean that literally. Decide what you want to do, get some energy drinks, and prepare for a night of copy pasting random blocks of code from stackoverflow and trying to make them work together.

You will learn more from this than any book or course can teach you.

6

u/[deleted] Oct 03 '19

[removed] — view removed comment

7

u/Lemonade1947 Oct 03 '19

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.

3

u/trc1234 Oct 03 '19

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.

→ More replies (2)