Re:Letter to a Young Haskell Enthusiast
by Ono-Sendai on Friday August 01, 2014 @10:54AM
(#8120162)
Well, for example, Haskell obviously makes heavy use of functions, which are from maths.
Procedures, on the other hand, aren't.
In maths, you often write something like let x = ...
An imperative language statement like
x = x + 1;
isn't something you see in maths, that is not a valid equation.
I was introduced to programming before abstract algebra, and when I took my first algebra class the comparison to Haskell was inevitable. Actually it turned out to be quite helpful: strongly-typed functional programming can be a good supplement to learning algebra.