Trial and error.

How did you learn programming? 


  Mostly by trial and error. 


  So, you have no formal training? 


  Well, I did a short course but practice is the most important thing.


  I’m the type who needs a teacher to show me. 


  I think it’s easier to learn from your own mistakes.