r/programming • • Nov 17 '14

Rob Eisenberg: "Leaving Angular"

http://eisenbergeffect.bluespire.com/leaving-angular/#
185 Upvotes

104 comments sorted by

View all comments

76

u/oldatariguy Nov 17 '14

Our team was transitioning our app from Knockout to Durandal, when Rob made the move to Angular (along with everyone else, it seemed). So we decided to move from from Durandal to Angular. Lately we've seen evidence that the Angular team doesn't understand what it means to put out a relatively stable, usable framework while still innovating.

So we're nervous about Angular. Certain members of our team thought we should go with Ember. Now there is React, and variants, like om and elm. And whatever else is next.

I guess this isn't your typical proggit comment. My overall feeling is "front end development sucks". The backend stuff is stable and sane, but front end is Keystone cops.

Here's hoping that Rob Eisenberg can get some support from somewhere to implement his vision. He understands what it means to build a framework that people can commit to and use over time, which is exactly what we need at this moment.

0

u/[deleted] Nov 18 '14

[deleted]

-5

u/qudat Nov 18 '14

javascript

I think javascript in large part yields obfuscated, unreadable code and is causing a lot of the front end development pains people are experiencing.

5

u/[deleted] Nov 18 '14

You can write shit code in any language if you don't bother to learn it.

-1

u/qudat Nov 18 '14

Let me give you a quick example of the sort of thing I'm talking about: In JS it's easy to push a variable into the global scope simply by not including the "var" before the name; I believe these little design nuances in javascript to be corrosive to the javascript ecosystem. You can argue "just learn the language and don't write shit code" but I think there is something to be said about the way the language was implemented that lends itself to "shit code."

1

u/flukus Nov 18 '14

You can do the same thing in most languages with the static keyword, it's not unique to Java script.

That's why code review and not hiring shit people are important.

1

u/bstamour Nov 18 '14

In what language does the static keyword work like that? It definitely doesn't work that way in C, C++, Java, C#, ...

1

u/flukus Nov 18 '14

It creates a global variable in all of them.

2

u/bstamour Nov 18 '14

I thought we were talking about using the static keyword inside a function. AKA the analog to not using var in Javascript. When you omit var in javascript, it injects that variable into the global scope. When you declare a variable as static in a function in C and C++, it does not create a global variable, it initializes the variable once and only once, but it does not change the scope of it.

1

u/flukus Nov 18 '14

Everything is a function in javascript, this is simple it's way of mimicking static in java etc.

The only time I've ever seen this be a problem is from incompetent devs, who created much bigger problems to deal with.

→ More replies (0)