Functional Reactive Programming (英語) ペーパーバック – 2016/8/20
Kindle 端末は必要ありません。無料 Kindle アプリのいずれかをダウンロードすると、スマートフォン、タブレットPCで Kindle 本をお読みいただけます。
Functional Reactive Programming teaches the concepts and applications of FRP. It offers a careful walk-through of core FRP operations and introduces the concepts and techniques you'll need to use FRP in any language.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the Technology
Today's software is shifting to more asynchronous, event-based solutions. For decades, the Observer pattern has been the go-to event infrastructure, but it is known to be bug-prone. Functional reactive programming (FRP) replaces Observer, radically improving the quality of event-based code.
About the Book
- Think differently about data and events
- Eliminate Observer one listener at a time
- Explore Sodium, RxJS, and Kefir.js FRP systems
About the Reader
About the Authors
Stephen Blackheath and Anthony Jones are experienced software developers and the creators of the Sodium FRP library for multiple languages. Foreword by Heinrich Apfelmus. Illustrated by Duncan Hill.
Table of Contents
- Stop listening!
- Core FRP
- Some everyday widget stuff
- Writing a real application
- New concepts
- FRP on the web
- Operational primitives
- Continuous time
- Battle of the paradigms
- Programming in the real world
- Helpers and patterns
- Adding FRP to existing projects
- Future directions
Stephen Blackheath is a professional developer and FRP advocate. He's the primary author of the Sodium FRP library for Java.
Anthony Jones writes code for a living and has spent half a decade refactoring a Java based configuration GUI to a FRP based framework. He is a contributor to the Sodium project.
- Nuggets of wisdom—on all things having to do with the reactive programming paradigm—await you in the pages of this book, presented with delightful humor. While this book does not read as evenly as the others in my list, it is nonetheless absolutely worth your time; there is coverage herein that I have simply not seen elsewhere; ignore Functional Reactive Programming at your own peril.
- For a more-detailed review, checkout my post by searching on the keywords "Programming Digressions Best Reactive Programming Books"
I opened a book and ok, I don't think that Sodium library which is was created by authors is popular but book looks to provide basics of FRP.
So I started to read, some parts are ok, like fragments about Von Neuman machine. Then my impression about book and it's contents was gradually dropping I read till half of it and then I said to myself enough. Why?
It appeared that old truth that having knowledge about particular subject have nothing in common with ability to deliver and explain it.
This book is intended for developers with OOP background or even functional programming to get familiar with FRP. Authors instead of focusing of explanation of simple concepts thus helping to understand I stress paradigm shift. Which is obviously always difficult writes that they are putting their reader on deep water ... This is not a proper way and this is excuse of mentioned inability of providing good simple introduction.
Then programming examples too long, vague in subject. Code style far from what we call clean code. Authors stressed that readers should focus and put a lot of effort in analyzing their code (btw a lot of boilerplate code there). And again I think that is excuse on providing mediocre quality examples and forcing reader to do authors job.
After a half I said sorry I gave up. Disappointing.
Don't use this book to learn Swing or Sodium, use it to mould your brain to functional stream based thinking from imperative thinking. I would suggest to type all the examples as you proceed . It is very satisfying to see running UI examples.