Learning Functional Programming: Managing Code Complexity by Thinking Functionally
D**E
Good, concise book on functional programming
Learning Functional Programming is a great, concise introduction to functional programming patterns (immutable values, referential transparency, higher-order functions, lazy evaluation) and their mathematical underpinnings (e.g., Category Theory, objects and morphisms, functors, monoids, monads). This is one of the best books I've found on this topic, and it's impressive how succinct and effective the author's descriptions are. He gave me a much better understanding of what functional patterns are, why they matter, and where they originate from. I recommend this book to anyone interested in writing better code.
A**R
Excellent book
Very nice book by Prof WidmanIt’s written in clean language and easy to understand concepts.This is great first book for scala developers.
A**S
Very disappointing
This book is expensive and more confusing than illuminating.
A**R
Astract and poorly practical
The concepts are very abstract, which wouldn't be bad if it was landed by practical examples, but the examples are also abstract and not based on real problems. Also the choice of the base language (Scala) I think is poor. If you have to use a language that perfectly fits the concept to make it clear and using broadly adopted ones would make it not clear, it means that the concept is not suited to be addressed by those languages, so the concept is not worth learning and mastering.
J**E
Very mathematical, not practical
First half of book is mathematical background required to understand terminology, then next quarter is applying the terminology to functional programming. Final quarter is relatively basic design patterns, but nothing that cannot be learned in an OOP/imperative context. This reads as an academic's approach to programming, not a programmers approach. Not worth the cash in my opinion.Theres also a fair few more spelling and English grammatical mistakes than I'd expect from an O'Reilly book.If you're wanting to have a reasonably concise reference mapping set theory to functional programming then this is what you want, if you want to lean to use functional programming in a practical setting then maybe not.
E**O
Ze hadden beter gewoon Miranda uit kunnen leggen
Hoe functioneel programmeren in andere programmeertalen toegepast zou kunnen worden is op zich niet oninteressant, maar ik zie geen expliciete verwijzing naar de taal die het letterlijk implementeert: Miranda.Miranda is een mooie duidelijke taal. Deze taal is ook in sommige varianten van C terug te vinden, wat ik zelf normaal gesproken een verschrikkelijke taal vind o.a vanwege de gebrekkige afhandelingen van tekst-strings, maar met Miranda eraan toegevoegd verdwijnt dat probleem als sneeuw voor de zon.Daarnaast lijkt het alsof ze expres een onduidelijke functionele vertaling maken om het principe te verdoezelen.Bijvoorbeeld bij een for-loop met als test "i < 100" wordt vertaald naar een inefficiënte if-then constructie, waarbij elke keer eerst wordt gekeken of je niets hoeft te doen met "if (i > 99)" en dan pas naar of je wel wat moet doen, terwijl je in de meeste gevallen als een functie aangeroepen wordt wel wat moet doen.Dit houdt in dat de computer steeds een mogelijkheid moet analyseren die niet noodzakelijk is, voordat deze toe is aan wat wel noodzakelijk is. Vertaal dit naar assembly en dan naar machinecode en dan krijg je gewoon inefficiënte programma's.Ik had dit boek gekocht samen met een aantal andere boeken ter vervanging van boeken die van mij gestolen zijn die ik expliciet bewaard had, waarbij de inbrekers boeken die ik bij de vuilstort had gegooid teruggeplaatst hebben omdat ze vonden dat ik die moest gebruiken terwijl die principes onderwijzen die niet werken. De nieuwe aanschaf is een aanschaf geweest van iets meer dan 300 euro.Dit boek ter vervanging van mijn boek over Miranda was een teleurstelling. Wil je meer over functioneel programmeren lezen, koop dan gewoon een boek over Miranda. Het is wat duurder, maar het dubbel en dwars waard.
Trustpilot
2 weeks ago
1 day ago