Some people have the programming bent and others don't. At high school my interest was in science and focused down to electronics. But computers are electronics right? So I got a job as an electronics technician. However there was a large r&d component in the job and it just seemed to work out that most of the projects were based around embedded processors that required a fair degree of programming. :-D
For various reasons I left that job and joined to company I now work for - as a full time programmer. Looks like that was what I was destined for after all.
As a litmus test for "programmer suitability" I rather like xkcd's "Paths". If you find yourself in the situation depicted, chances are there is a degree of programming (or maths) in your soul.
DWIM is Perl's answer to Gödel