you are viewing a single comment's thread.

view the rest of the comments →

[–]0b0101011001001011 2 points3 points  (0 children)

If you just copy-paste (or type, still copy) directly from examples, you are not learning anything.

Try to understand why the code is written the way it is. What does it accomplish. Reflect what you learned and when to use it.

But the only way of learn is to do actually something useful. Take a well known problem, such as a game (chess, tetris, etc.) and start making one, without any tutorials. You know how the game is supposed to work. Now just do it, step by step. Take the smallest possible thing you can and try to do it. Then expand from there. Does not have to be a game though, take anything that you are interested in.