News for hackers. Stuff that matters.
Re:Kotlin 1.1 Released with JavaScript Support, Coroutines a... by kybernetikos on Friday March 03, 2017 @04:29AM (#13781713)
"It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures." —Alan Perlis

Functional style in my opinion is about creating functions that operate on standardized data structures. Class based type systems actively discourage functional style, even when the language gives you a functional veneer over your OO code.

Haskell avoids this problem by using algebraic data types instead of class style types. Clojure avoids this problem by using dynamic typing.

I definitely do not associate 'functional' with static typing.

There are no comments on this comment yet.