3 ms·
After 2 years of FP in Scala, I'm amazed to see at what lengths OOP engineers go to circumvent learning what monadic composition is (including reinventing it).
by sscarduzio 10y ago
After 2 years of FP in Scala, I'm amazed to see at what lengths OOP engineers go to circumvent learning what monadic composition is (including reinventing it).
Go ahead guys, in another 6 months you'll reinvent the for comprehension! ;)
- deepsun 10y agoYou forgot about time dimension, it's a big deal. Take a look at RxScala -- they wouldn't go implementing it if it was already included in Scala :) But yeah, Rx makes handling streams of events kinda similar to handling collections of objects, which is cool. Except for time dimension (`.debounce()`, `.throttle()` etc) which, as I said, is a big deal.