News for hackers. Stuff that matters.
Re:RxJS is great. So why have I moved on? by Keats on Thursday December 17, 2015 @12:07PM (#10752659)
What do you think of something like http://mweststrate.github.io/mobservable/ ?
Re:RxJS is great. So why have I moved on? by dustingetz on Thursday December 17, 2015 @12:57PM (#10753044)
That looks to me, a lot more complicated than it needs to be. I think that has combined two separate things - atoms and cursors. Here they are in javascript:

https://github.com/cjohansen/js-atom/blob/master/atom.js

https://github.com/dustingetz/react-cursor/blob/master/src/C...

Vastly less code than https://github.com/mweststrate/mobservable/tree/master/src. Cursor+Atom has nothing to do with Rx or core.async, of course, and is probably not the future. (I say this as the maintainer of react-cursor)

Re:RxJS is great. So why have I moved on? by curveship on Thursday December 17, 2015 @02:08PM (#10753651)
It looks like react-cursor is 1300 loc [1], mobservable is 1900 [2]. How is that "vastly less code"?

1 - https://github.com/dustingetz/react-cursor/blob/master/dist/... 2 - https://github.com/mweststrate/mobservable/blob/master/dist/...

Re:RxJS is great. So why have I moved on? by dustingetz on Thursday December 17, 2015 @03:42PM (#10754384)
The essential idea of a cursor can be implemented in about 10 lines, and because I actually looked through the source code of mobservable, I understand what they are essentially doing and how it requires a couple hundred lines. Since we're talking ideas here and not implementations, measuring artifacts is not helpful.