Hello guys.I have applied various techniques for learning programming and computer science from books.
I am wondering about what is the best practice to learn code.
Technique 1:
1-)Learn theory from book [%5 of the time]
2-) copy paste codes from books(pdf) and debug and change it to learn how code works [%5 of the time]
3-)Apply this theory and technique on my real world programs [%90 of the time]
Technique 2:
1-)Learn theory from book [%5 of the time]
2-)Type and run code to learn how code works [%47.5 of the time]
3-)Apply this theory and technique on my real world programs [%47.5 of the time]
For example, I want to learn Java with the second method:
1-)I learned theory from a book [%5 of the time]
2-)I type and run code to learn how the code works [%47.5 of the time]
3-)Apply this theory and technique to my real world programs [%47.5 of the time]