Functional Reactive Programming with Frappuccino
summary
A small Ruby library brings functional reactive programming to desktop UIs: the frappuccino gem wires button events into streams, uses map and inject to maintain a running total, and binds a label to that stream so the UI updates automatically; demos run under two Ruby runtimes including JRuby. The code uses playful metaprogramming to provide an emit method, has an acceptance test suite but not TDD, and grew from dealing with legacy ruby.c 2500 lines and experiments like object.class = hack that took months to port.
AI-written summary · about
chapters (9)
- 0:00Introduction and context
- 1:45The philosophy of Irresponsible Ruby
- 5:07Remembering Why the Lucky Stiff
- 7:36Maintaining someone else's legacy
- 12:13Responsible vs. Irresponsible modes
- 15:24Exploratory programming
- 19:27Building desktop apps with Shoes
- 29:32Introduction to Functional Reactive Programming
- 35:25Frappuccino in action and closing
related talks
33mFunctional Reactive Programming
24mFunctional programming for fun and profit!!
44mFunctional Programming for Rubyists
37mRuby versus the Titans of FP
44mReal-World Functional Ruby
26mBlending Functional and OO Programming in Ruby
34mSprinkles of Functional Programming
42mTaking inspiration from the functional world
