DEV Community

Cover image for Digest of papers: Why Functional Programming Matters

Digest of papers: Why Functional Programming Matters

Gustavo Preciado on December 04, 2018

D. Turner, Addison-Wesley, 1990 Read this post in spanish Modularity and readability are two of the most important features of code in order to ac...
Collapse
 
epogrebnyak profile image
Evgeny Pogrebnyak

Interesting you approach FP with Java examples, functional language examples would have come handy too (can be cleaner of Java lib calls).

Collapse
 
gustavo94 profile image
Gustavo Preciado

I know a bit of Scala and sure the code it's cleaner and there is a lot of awesome resource that JAVA doesn't have, but I learn functional in a project that 'require JAVA' because the client force that decision and there is so many projects that have to use this language for some reasons so we find VAVR and I think is good to show this can of alternatives.

Collapse
 
epogrebnyak profile image
Evgeny Pogrebnyak

I see your case, and it makes sense. VAVR creators specifically say they offer data structurures, not all for functional purity (eg IO monads): github.com/vavr-io/vavr/issues/20#.... If I was on Java path, I'd say I use some of elements of fucntional programming, but not the full stack.