Live data from Hacker News

Angular 4.0.0 Now Available

angularjs.blogspot.com

191–200 of 360 posts

Re: Angular 4.0.0 Now Available

#191
post #74

I'll be that guy. I'm sure the Angular team are great people, and they're clearly talented devs... but stay away from Angular. It doesn't help with the problems you will actually face. Typed Javascript is a cargo cult. Angular just plain confusing for no apparent benefit. Dependency injection is bizarre. The distinction between modules, components, and directive is unnecessary. The Javascript community in general is…

Totally agree. I really don't get how anybody can take a look at the mess at https://angular.io/docs/js/latest/api/ and think to themselves, yep - that's for me! Our first version was done in Angular v1 and we bit the bullet and converted over to React and never looked back. No more factories, or dependency injection, or crazy template language that is never quite expressive enough, and no more digest cycles to optim…

> I really don't get how anybody can take a look at the mess at https://angular.io/docs/js/latest/api/ and think to themselves, yep - that's for me!

ANY web developer is someone that once upon a time looked at an api that was a complete mess (javascript, dom, ...) and still said to himself - that's for me!

Update : absolutely not saying they wrong to think so. Building the right things is more important than building the things right.

Re: Angular 4.0.0 Now Available

#192

Angular core team here, we're pretty excited about this release. Main change, as noted, is the new View Engine. The design doc[0] is worth a read if you're interested in front-end at all. Happy to answer any questions! [0] https://docs.google.com/document/d/195L4WaDSoI_kkW094LlShH6g...

I have a question. Who thought it was a good idea to make Angular 2 incompatible with Angular 1? You had it, and you blew it. Most people aren't going to use any version of Angular, now, and have switched to React and Vue.

Angular 2 is a different framework, plain and simple. You can continue to use AngularJS 1.x if you were on that framework.

I understand the frustration of someone who has used AngularJS 1.x. There is not really a straightforward and low risk path to upgrading a production app.

But that is like saying there is not really a straightforward risk to switching from AngularJS 1.x to React. They're different frameworks. AngularJS is different from Angular.

In my opinion the Angular team has created something really special with this new framework. I think it falls into a category of its own, very difficult to compare it to something like Vue.

Re: Angular 4.0.0 Now Available

#194
post #64

I have been leading a good sized Angular app for work for the past 8 months, and upgrading from v2 to v4 has been painless, even while having an AOT compilation build pipeline set up - the only modifications we had to do was switch OpaqueToken to InjectorToken, to , and Renderer usage to Renderer2, and these weren't required to be done yet. We only did those changes to get ahead of the curve from the deprecation mess…

I also had a painless upgrade from 2.4 to 4.0.

With angular-cli ng2 is now usable and in my opinion the best Javacript/typescript framework.

Re: Angular 4.0.0 Now Available

#195
post #168
post #106

Earlier quoted context omitted.

"Who thought it was a good idea to make Angular 2 incompatible with Angular 1?" This is so much discussed that I am not going to answer that. Google it. But according to the latest StackOverflow survey [1] Angular is still bigger than you think: AngularJS 44.3%, React 19.5% [1] http://stackoverflow.com/insights/survey/2017/

Most companies don't switch quickly. We have a huge Angular 1.x app, but after hiring some new developers for our team we found the pool of React devs was huge compared to Angular devs. So much developer goodwill and mindshare has been lost. After carefully evaluating the technical aspects of Angular and React and externalities like the above, we decided to start building new software with React. Angular won't go awa…

I also skipped Angular 2 and moved to VueJS. Never been happier.

But I was responding to "You had it, and you blew it. Most people aren't going to use any version of Angular, now, and have switched to React and Vue."

When you look at the stats and look at other places online there are still very much people liking and using Angular. So it's not going away soon.

Also take a look at Google trends: https://trends.google.com/trends/explore?q=angular,react Both Angular and React are growing at an equal pace.

So the claim that developing new versions of Angular is a waste of time is nonsense.

Re: Angular 4.0.0 Now Available

#196
post #166

Earlier quoted context omitted.

Angular is a mess but typescript is alive and kicking on its own, even with react. Personally I'm one of the apparently rare breeds that hate angular but loves typescript. I wish there were more of us. They're really in different realms and please don't make them part of the same whole. Typescript is a transpiler but the transforms it does are designed to mimic accepted JavaScript idioms. When I'm debugging typescrip…

I agree 100%. TypeScript is an invaluable, mature technology that provides large productivity boosts to any team that maintains a mid-sized code base. It plays extremely well with React too, and it's benefits are independent of the tech stack. If you are used to typed components/templates, you will NEVER want to go back. I would argue that is more important to have static typing in the front-end compared to the back-…

In 2014 I used Typescript on a four month long project. I liked it alot compared to using just JS, however compiling was slow.

I retried using Typescript 1 month ago. Compiling took 6-7 seconds for about 8 files. I could not find a solution and gave up using TS. I hope that's just me doing not good enough research.

Re: Angular 4.0.0 Now Available

#198

Earlier quoted context omitted.

Typescript with React is necessary for me. I feel like it highly increases my productivity when coding, and it makes it easy to refactor the code. Plus you can do some cool things like Component inheritance. I've never tried Flow, but I guess it's practically the same.

I want to move on from Jquery... Have been learning C# on the back end for the past year and a bit, but now it's time to do the front end. Looking at both A1 and A2 has confused me, so might just try React and see if that is more compatible with my ageing me. :) Nevertheless, I also really like the looks of Typescript. Could your possibly recommend a(n opinionated) way to get started with the two?

I came from C# WPF/Winforms and have to say that Angular 2 is more familiar to me than react.

Of course the whole web stack is a new thing. Angular makes web app development much more productive.

Re: Angular 4.0.0 Now Available

#199

Earlier quoted context omitted.

Typescript with React is necessary for me. I feel like it highly increases my productivity when coding, and it makes it easy to refactor the code. Plus you can do some cool things like Component inheritance. I've never tried Flow, but I guess it's practically the same.

I want to move on from Jquery... Have been learning C# on the back end for the past year and a bit, but now it's time to do the front end. Looking at both A1 and A2 has confused me, so might just try React and see if that is more compatible with my ageing me. :) Nevertheless, I also really like the looks of Typescript. Could your possibly recommend a(n opinionated) way to get started with the two?

https://github.com/wmonk/create-react-app-typescript

Re: Angular 4.0.0 Now Available

#200
post #106

Earlier quoted context omitted.

"Who thought it was a good idea to make Angular 2 incompatible with Angular 1?" This is so much discussed that I am not going to answer that. Google it. But according to the latest StackOverflow survey [1] Angular is still bigger than you think: AngularJS 44.3%, React 19.5% [1] http://stackoverflow.com/insights/survey/2017/

No answer is better than arrogant answer.

I didn't want to sound arrogant. But when Angular 2 was released the whole web broke down in anger and had questions like this. So there are a lot of good answers on StackOverflow and other sites.

So my answer to the question was something like: "You can find a lot of info by Googling it".

But I am not able to change my comment anymore.

Post reply on HN