3 ms·
Mostly agreed. John Backus seemed to think it was a big deal. See eg 'Can Programming Be Liberated from the von Neumann Style? A Functional Style and Its Algeb
by eru 6y ago
Mostly agreed.
John Backus seemed to think it was a big deal. See eg 'Can Programming Be Liberated from the von Neumann Style? A Functional Style and Its Algebra of Programs ' (http://www.ict.nsc.ru/xmlui/bitstream/handle/ICT/1256/1977-backus.pdf http://www.ict.nsc.ru/xmlui/bitstream/handle/ICT/1256/1977-b...)
On the one hand, I do agree that in a language like Haskell it's almost entirely a syntax level distinction.
On the other hand, syntax level conveniences and inconveniences can have a big impact on how people use a language. (Eg in Haskell if-then-else is more hassle to type out than pattern matching. A slight nudge by the language design to make users prefer the latter.)
Once you have acquired the ability to see functions as objects in their own right, many more techniques become available. Think of eg parser combinators.
Technically you don't need the syntactic convenience to use parser combinators. But I am not sure they are worth the hassle without those conveniences. Eg Python has enough functional machinery to support parser combinators, but its options for defining functions (def and lambda) are just so cumbersome.