Here’s a very simple question:
How many times can you subtract 5 from 73, and what is left ?
Find out what your answer means by clicking here.
- An imperative programmer answers, “you can subtract it 14 times and the remainder will be 3.”
- A functional programmer answers, “you can subtract it as many times as you wish, and you always get 68.”
Hi. I'm Victor Nicollet,
I guess I qualify as an imperative programmer, then ?
I guess you think like an imperative programmer. Not something to be proud of
I was thinking more mathematically I think – you can take away anything from anything an infinite number of times. I was thinking of the result spiralling toward negative infinity though.
So… do I even qualify as a programmer then? Or did I reach the enlightened state between all paradigms?
This is a relatively unnatural way of thinking, indeed (pun intended).