http://www.perlmonks.org?node_id=284629


in reply to Programming and math

Good question Kiat

I came to programming through math myself. In highschool, I found that I enjoyed the proof process in Geometry. Later I had a friend who was in the math club and he had time on the school's computers. He showed me his implementation of "Single Pile Nim" on punched paper tape, then told me about Basic programming. I immediately went to the library and started looking at Basic books and was struck at how the structure of programming was like the structure of proofs.

I was hooked. I began pestering math teachers for computer time, and was able to get an entire semester of lab time without having to take a class. Next semester though, I had to take a class to get more lab time.

So, at least for me, it was the synchrony of having had Geometry, and then going to a school which had computers which got me into programming.