I think small exercises would be the best way for me to learn programming. I am a beginner and I am willing to give plenty of time to this.
In my opinion, exercises should be something to write, and not long programs (10-30 lines).
What websites/articles/exercises can you recommend?