Would you have learned English if it hadn't been a by-product of learning about computers and programming? I'm ashamed to admit that I didn't really even try to learn a little Portugese while I was in Brazil.
I really wanted to learn the meaning of the lyrics I was listening too as well, but you are right... the big motivation came from the need to learn English in order to find what I was looking for from the computer/programming world.