While researching Asperger's (after my son's diagnosis), I read that Aspies tend to think in If-Then scenarios. For my son, this means that using If-Then statements are highly effective if you want him to do something. For example, if you say "Get your shoes on!", he'll continue to watch TV. If you say "If you get your shoes on, then we can go to the store", he'll get his shoes on.
As far as social situations are concerned, however, If-Thens are horrible. Social situations have tons of grey areas and complex rules that If-Thens can't account for. Someone with Asperger's can build up a "social rules dictionary" of If-Then statements, but it is tough to keep it all in your mind and "run" it real-time. ("If this person looks at me like this, then she means that... unless this situation comes up then this other thing.... unless a third thing happens then.....")
Computers (programming in particular) is all about If-Thens. All of the loops and statements and code essentially boils down to "If you get this input, then do this." Thus, working with computers can come naturally to people with Asperger's unlike social situations.
(I believe that I'm an Aspie as well considering my son's diagnosis and how alike my son and I are. I'd get diagnosed but that would cost money we don't have lying around and wouldn't help my son or me - as I've built up coping mechanisms for myself over the years.)