You are reading content from Scuttlebutt
@nichoth
Re: %u9hup+ZS6

thanks @neftaly for asking about the relationship with fp patterns. I have been wondering about this and want to figure it out better. pull-stream and function patterns are basically the same, but the interface is a little bit different. I think this highlights 2 main uses for streams — pull-stream and node streams are focused on IO, and observables/rxjs are focused on bringing fp patterns to javascript, which is not about performance, but about writing nice, reusable code.

I've been using pull for application code in the browser, and it works pretty well but it feels a little bit weird because they are focused on IO. Implementing something like an either or maybe type, for example is not obvious to me.

@neftaly
Liked this in #node
@Carlos Galarza
Liked this in #node
@mix
Re: %u9hup+ZS6

@neftaly thanks for taking the time to record this.
@dominic cool seeing your route into this, it felt really organic and clean. Fucking love that "how do you eat food" metaphor as well.

@nichoth we're using pull-streams + observables extensively in patchwork + patchbay. It's actually really beautiful - you set up a source and drain it into an observable. Then you just plug the observable in somewhere else (in our case, Mutant), and it just updates as stuff arrives.

Join Scuttlebutt now