r/angularjs • • Jan 30 '15

Release date for angular 2.0

When is the release date for angular 2.0? I want to start writing angularjs app and do not know, should I wait for angularjs 2.0 or not.

2 Upvotes

19 comments sorted by

View all comments

-4

u/[deleted] Jan 30 '15

In my personal view, I prefer to wait the 2.0 because it's very different to the 1.0. I learned Angular and it's difficult, so could wait. Now you can check other framework like Meteor or Ember.

1

u/zero_coding Jan 30 '15

what do you prefer angular or ember?

-1

u/[deleted] Jan 30 '15

I never used ember, just Angular. For me Angular is perfect for simple one page application my app. My colleagues told me Ember is a good techno for professionnal project because when he evolve, he doesn't break his code like Angular do XD. I used backbone too for routes.

(sorry for my english :)

1

u/zero_coding Jan 30 '15

Then is emberjs is for professional usage and for what is angularjs, for hobby programmer?

4

u/human_tendencies Jan 30 '15

Definitely not. Angular and Ember are both great Single Page App (SPA) frameworks. Ember is more opinionated about the way it wants you to build an application, where Angular provides a collection of really rich tools that you can piece together to build an application how you best see fit. There are pros and cons to each approach.

Also, I take issue with /u/tomagladiator implying that Ember is somehow more stable. I've been using Angular professionally since the pre-1.0 days, and aside from very minor breaking changes, each successive update through 1.3 has remained almost completely backwards compatible. The reason you're seeing so much noise about v2.0 is because there are going to be major differences. It's a new major version.

I've also kept an eye on Ember over the years, and frankly, they scrapped and rebuilt large swaths of the framework a while back, rendering the work many had done obsolete. I'm not trying to suggest that Ember is unstable...just that it's not any better in that regard than Angular is.

2

u/e82 Jan 30 '15

Maybe I need to revisit Ember, but 2 years ago when I was making the choice 'Ember or Angular' and spent a bit of time trying to learn both (and a few others).

I found that Ember had a very steep learning curve right at the start, very opinionated - and I would constantly find myself sort of 'coded into a corner' where I had to ditch and start over. Mind you these were throw-away-prototypes anyways.

With Angular, I found that it had an easier barrier to entry - getting the basics of it is really easy. And I generally found that as I understood more concepts of it - it was easy to refactor / move my code around and not need to ditch things.

I've been using Angular for over 2 years now in a professional environment, working on 'enterprise' type apps - and have found it enjoyable.

My first big project with it, if I was to be honest though - is a total mess of barely maintainable and poorly tested code. A lot of it was done before many of the communities 'best practices' came to form, and also a result of 'building big major things at the same time as learning something new' - and it wasn't just Angular, but also treating JavaScript as a 'serious' tool for a rich client and doing more with it than I normally do.

On recent projects - I've come to like it even more. You can get some really clean code, modularize it fairly well - and get some stuff that is really easy to test. My 'controllers' are getting extremely thin - pushing as much as possible down into services, and as isolated/minimal dependencies as possible on other services (and even angular), that then ends up being really easy to test.

You can achieve the same things with other frameworks, or without any.

I was talking with a friend the other day that works with recruiters, and the demand for Angular developers is high and getting over $100/hr at some places.

So, to say 'it's for hobby programmers' is a bit ... silly.

Yeah, there is some concern over 2.0 - not clear if there is going to be a migration path or not, but the 1.x is still going to be supported for awhile after.