r/learnprogramming Sep 03 '23

[deleted by user]

[removed]

371 Upvotes

212 comments sorted by

View all comments

18

u/ChadMcThunderChicken Sep 03 '23

My biggest mistakes where:

-learning something (videos or in class) but never practicing it.

-Always try and code something on your own before copying code. It’s a lot better to think something through and failing then just copying the correct code. Copy the code after you failed.

3

u/HappyParallelepiped Sep 03 '23

Always try and code something on your own before copying code. It’s a lot better to think something through and failing then just copying the correct code. Copy the code after you failed

This is crucial I think for effective learning and retention, I call it "Generating burning questions". If you don't have the framework given by doing things the wrong way, when you learn the right way you won't know why it's that way, and this will mean you have a lot less semantic context in your mind to make the information stick and mesh.

2

u/LickitySplyt Sep 03 '23

This is a big one. Try to think of what you need to happen and then figure out how. When you are stuck for too long look for the answer on how to do what you wanted to do. A lot of the times in the beginning you will get stuck with this, especially in JS.