I used to teach programming to non-CS students. I realized that the most important thing was to figure out how to motivate them. Programming is not something you can learn “casually”, you need a strong will and the ability to endure stressful times.
I had to study programming simply because it was my major. However, it’s not that easy to convince people to study programming when…