Re:Letter to a Young Haskell Enthusiast
by fbernier on Friday August 01, 2014 @09:50AM
(#8119759)
I think what followed this quote made quite a good job at explaining what exactly he meant with this statement: That people tend to have a limited view of math as calculus only.
[ Parent
| on HN ]
Re:Letter to a Young Haskell Enthusiast
by titanomachy on Friday August 01, 2014 @10:26AM
(#8119961)
One thing that I think is true (and maybe this is what Ono-Sendai meant) is that compared to many languages, Haskell's syntax is relatively close to the notation used by mathematicians. And notation can strongly influence the way we think about things.
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.
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.