I learned logic via programming at a young age. BASIC, but any
  computer language would do. [most are similar enough that if you
  learn one, you can do many others without much effort, as the
  basic constructs are the same] So when you said "if/then" it
  resonated well with me. I could probably have whole discussions
  in pseudo-code. I prefer it in fact, because the benefit of code
  is: is has to run and produce expected results. That's how you
  know if the logic is good.