That's boilerplate. This example might look cleaner to you, where boilerplate is being removed in an MVI framework: https://github.com/staltz/cycle/blob/master/examples/hello/h...
It's assigning the result of a constructor to a variable. It's JavaScript. So this isn't your thing I guess.
Re:Reactive MVC and the Virtual DOM
by stevebmark on Monday November 10, 2014 @06:28PM
(#8587323)
As someone actively trying to damage his (how did I guess you were a guy?!) community with dismissive, condescending and anti-inclusive hatred, in a community already battling against these problems, I hope you consider making programming not your thing.
var modelItems$ = new Rx.BehaviorSubject(null); var itemWidthChanged$ = new Rx.Subject(); var itemColorChanged$ = new Rx.Subject(); var removeClicks$ = new Rx.Subject(); var addOneClicks$ = new Rx.Subject(); var addManyClicks$ = new Rx.Subject();
As someone unexperienced with the Rx library, this is completely unreadable.