Echo JS 0.11.0

<~>
bigtunacan 2906 days ago. link parent 3 points
While I don't agree with every point he hits on; I think his overall conclusion is correct.  Angular 2 is a terrible framework and should be avoided.  It's by far the most complex JavaScript framework I have spent time with and I've used many others (Knockout, Ember, Angular 1, Sammy, etc...).


The learning curve is way to steep, and saying it "isn't a framework for beginners" doesn't justify it.  I've been working with JavaScript for 15 years and programming for the past 20 years and the ramp up time on Angular 2 is ridiculous.  With Angular 1 I understood enough of the framework within a week that I could feel confident building out a product.  In a month's time with Angular 2 I still hadn't reached that level of confidence.  In my opinion this alone should be a deal breaker for projects.  Most teams are not going to be made up of all "senior" developers; if I don't feel some level of comfort in the framework within a short period of time how can I have confidence that junior developers are going to grok this?

Replies

tracker1 2905 days ago. link 2 points
I've done a couple of ng2 apps, and I think I could do more with it... that said, I still feel that React + Redux + redux-thunk and fetch gets you most of the way there, with material-ui or react-bootstrap being a great starting point... yeah the tooling isn't as flushed out, and there's some boilerplate... that said, jumping into an app is so much easier than ng2. (and imho ng1 as well).

I've talked a few people out of going with ng2 for new projects... it just isn't worth the trouble.

As for DI (from gp), what's wrong with require/import and testing using proxyquire?
kirilloid 2902 days ago. link 1 point
That's your personal experience and personal experience depends on person and project. I had more than 3 months to work with pretty big ng1 codebase and I'm still unable to wrap my head around all these "@", ">", "=" and all ng1 cryptic syntax for property-binding.
At the same time I dived into ng2 easily (with prior RxJS and TS experience, though) w/o any guidance. Much easier than e.g. Ember.
Of course, ReactJS was even easier than ng2, but for any big app you'll need redux, redux-thunk, redux-middleware and all other bells and whistles, which makes actually learning ReactJS.
And after several years, saying I program in React will not mean anything, because do you use flux-saga (not a real thing, probably) or redux-thunk? And with Angular2+ there will be only one type.
Ng2 might never reach popularity of React, but it will have its niche in Enterprise world.
davidspiess 2900 days ago. link 1 point
I can't agree on your opinion that knowledge about react and redux will become meaningless in the future. The key point about redux is, you don't have to learn yet another framework specific api. It's based purely on functional programming principles, so if you wrap your head about them once, you can build apps without any magic going on under the hood.
Learning about FP was extremely valuable for my career and made me for sure a better programmer too.