Re:Introducing a new data structure, streams, in Javascript
by swannodette on Sunday September 11, 2011 @02:31PM
(#2984403)
If your project team has people comfortable with functional programming - there's absolutely nothing wrong with that code.
As far as changing the way you think, it certainly came as a shock for me when I encountered it years ago in SICP and I'm still enjoying the benefits of lazy sequences in Clojure and ClojureScript.
As far as changing the way you think, it certainly came as a shock for me when I encountered it years ago in SICP and I'm still enjoying the benefits of lazy sequences in Clojure and ClojureScript.