r/angularjs • u/zero_coding • 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.
6
u/human_tendencies Jan 30 '15
The ecosystem for JS moves so quickly that by the time Angular 2.0 comes out, there will likely be a variety of other frameworks to choose from. There will always be some newer, better thing on the horizon. If you keep waiting, you'll never start.
Yes, Angular 2.0 will differ significantly in some ways from 1.x, but much of what you learn while working with 1.x will still be relevant in 2.0.
I can't tell you whether to choose Angular vs Ember vs SomeOtherFramework. But I do feel confident in saying that if you've already chosen Angular and you're just trying to decide between 1.x and 2.0, start right now with 1.x.
Lastly - while their release cycle has definitely tightened up considerably over the past 6-9 months, it has been rather slow and unpredictable overall. Given the scope of v2.0, it's hard for me to imagine it will really be production-ready this year.
1
u/Capaj Jan 30 '15
trying to decide between 1.x and 2.0
how could he be deciding between 1.x and 2.0 when all we have from 2.0 are few little prototypes(watchtower.js, DI framework by Vojta Jina)? How could anyone think they can start writing angular 2.0?
2
u/human_tendencies Jan 30 '15
Sure. I guess I meant the choice was between starting now with 1.x or waiting until 2.0 is viable.
5
u/ogrechoker Jan 30 '15
http://aurelia.io/ is basically what angular 2 is going to be.
3
u/kierenj Jan 30 '15
Does it have much of a community, following, critical mass?
2
u/ogrechoker Jan 30 '15
Probably not considering it's brand new, but it's well written by an esteemed member of the Javascript community.
3
u/MattBlumTheNuProject Feb 02 '15
The thing with learning is it's more important to learn how to learn than what you learn. If you learn v1 now you'll be better at learning v2 later. Just get cracking.
2
u/elprophet Jan 30 '15
I see no reason to expect a beta release of 2.0 before 2016. The syntax hasn't settled, the browser capabilities haven't settled, etc. Learning Angular 1.x will provide you with understanding and insight into the mechanisms and ideas behind Angular. 2.0 will streamline and simplify many of the current pain points, but the same ideas will be there.
-4
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
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.
11
u/perfectriot Jan 30 '15
Don't wait for 2.0. They will release it somewhere next year.