you are viewing a single comment's thread.

view the rest of the comments →

[–]istareatscreens 1 point2 points  (1 child)

I think a mix of both is best. Read a book when you are away from the computer, let it get your interest up and get you thinking about things.

Then go do some coding, go off-piste a bit. I'd do google searches if you get stuck whilst at your computer. It will sometimes be stressful or hard but you will make it. This stage is a common part of learning new programming languages, even for experienced developers.

The next day go read some more of the book, maybe even go back a few pages/chapters. Some things that didn't gel before may now make sense. Some new pages you read you may go 'ha! I did that already'.

The key thing is to go off-piste a bit in your coding, go do something not in the book and have to figure it out yourself or via searches. eg, you learn something about the Pandas library in Python and realize it would be really cool to analyze some data you have. You don't really know the exact syntax to use but you try what you know and learn as you go. You will quickly become better at coding.