News for hackers. Stuff that matters.
Re:Adventures of an imperative programmer in the land of fp by bufo on Friday August 27, 2010 @03:08PM (#1639834)
it's funny, in French engineering schools we have the opposite reaction; in "prep" schools students are taught OCaml which is their first programming language if they're not geeks.

Functions returning functions seem a natural thing as they are used to the exact same kind of abstraction in math (and even sometimes order 3+ functions when you study duality!). Conversely, they are initially puzzled when they are taught Java in their engineering school because of the difference between static variables and attributes, constructors and other unnatural concepts.

Re:Adventures of an imperative programmer in the land of fp by groaner on Friday August 27, 2010 @11:58PM (#1641130)
Maybe it's a national pride thing as well, since OCaml was developed at INRIA.
Re:Adventures of an imperative programmer in the land of fp by lolipop1 on Friday August 27, 2010 @10:17PM (#1640981)
In some schools, you actually start with lambda calculus, just a bit more theoritical.
Re:Adventures of an imperative programmer in the land of fp by eru on Friday August 27, 2010 @04:51PM (#1640238)
`Unnatural' in the sense of `not relating to natural transformations'?
Re:Adventures of an imperative programmer in the land of fp by Dn_Ab on Friday August 27, 2010 @07:48PM (#1640702)
Unlikely since natural transformations are a statement on how a particular collection of functions behave under composition.
Re:Adventures of an imperative programmer in the land of fp by Dn_Ab on Friday August 27, 2010 @07:46PM (#1640699)
yea, anyone who has ever done differentiation or messed with probabilities involving random variables has played with 'higher order functions'.