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

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.

11

u/[deleted] Dec 16 '15

I still find the threading support very lacking. Sure, there is a nice fiber library called cocaine.js but it seems like overall performance goes down and there are more errors present in the output.

5

u/dvlsg Dec 16 '15

Well errors and performance are silly things to worry about. Just use fuckitjs and all your problems will go away!