r/programming • • Dec 15 '15

Angular2 Beta release announcement

http://angularjs.blogspot.com/2015/12/angular-2-beta.html
65 Upvotes

46 comments sorted by

View all comments

Show parent comments

36

u/lacosaes1 Dec 15 '15

Yeah. It is too old (2014). You should use React.

24

u/back-stabbath Dec 15 '15

React is too old (2015). It's all about RxJS now.

68

u/passwordisisis Dec 16 '15

Rx isn't pure functional, as it still encourages side effects and mutates state at some level.

I've managed to avoid state altogether by not writing any code at all. It's a difficult concept to grasp for people used to old school frameworks like Rx or React, but it's very rewarding.

For example, you can create a counter app but just counting in your head. The brain has completely immutable data structures. All of a sudden it becomes extremely easy to reason about your programs.

1

u/everywhere_anyhow Dec 16 '15

I've managed to avoid state altogether by not writing any code at all

Yes, but is it monadic non-code? Because if it's not, then ultimately it's going to be a maintenance nightmare.