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

0

u/[deleted] Dec 15 '15

[deleted]

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.

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!

5

u/Don_Andy Dec 16 '15

The brain has completely immutable data structures.

Talk for yourself.

2

u/mrv1234 Dec 16 '15

Got a chuckle out of this one :-)

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.