Live data from Hacker News

Version 6 of Angular Now Available

blog.angular.io

71–80 of 86 posts

Re: Version 6 of Angular Now Available

#71
post #13

Was a firm believer in Angular when it was version 2, made the switch to React before Angular version 4. Best choice I've done for productivity.

Same, they handled the transition terribly, I really wanted to use angular but I stuck with knockout and then ended up going to VueJs instead.

I've gone to using VueJS full-time as well and it's been absolutely amazing at increasing my productivity.

Re: Version 6 of Angular Now Available

#72
post #42

Earlier quoted context omitted.

How about the story on mobile? Is there an Angular analog to React Native?

Not really answering your question cause React Native builds to native platform code. But Ionic uses Angular internally -> Cordova-> PhoneGap (mobile)

Yea this is the exact reason we are leaning towards moving from AngularJS to React.

. Ionic app never feels completely right as components are not as much optimized as platform native.

. If Apple/Google comes up with a new look/style for default components, good luck chasing and updating libs.

If you are targeting for mobile-app and web, just go with react-native.

Re: Version 6 of Angular Now Available

#73
post #61

Earlier quoted context omitted.

>At the mid-size corporation that I work at, we just standardized all Javascript development on Angular from a mismash of a ton of technologies. Angular seems very well suited for this role. In my experience centralisation and fixation on specific technology leads to stagnation quickly. IMO you should allow teams to choose their own tools. How else will you improve?

To quote one of Akin's laws which were on HN yesterday, "better is the enemy of good". It's really good when one technology is used throughout an organization to achieve the same purpose. At some point, the technology you use is actually good enough, and incremental improvements to "keep up with the times" are simply distractions from the real work. And if at some point you find that your tech has truly stagnated, at…

The problem is how will you find that your tech has stagnated? If nobody experiments with new tech - who will teach others? How will that knowledge come into your corp? Hiring new people to do that will not work, because: - People being hired will be evaluated by legacy people (different thinking will be considered disadvantage during interviews) - Legacy people will not listen to new hires since they have no credibility and it "has been the way it was always done"

Re: Version 6 of Angular Now Available

#74
post #41

Earlier quoted context omitted.

> Focus on what you want to build, not the tools you use to build it. This is an interesting comment to me because, by essentially building your own framework, that onus is now completely on you. If you want to implement code splitting or tree shaking or whatever, you have to figure that out for yourself. That's time taken away from building product features. Whereas other frameworks can offer this out of the box bec…

I also did what the parent did. I'm using mine on several enterprise projects. And I'd also argue that devs spend //more// time implementing updates due to framework churn than for maintaining their own framework. After mine was "done", it was done. There is no code churn, all the features are in, tight code, etc,...so now I only spend time creating/expanding my products. The discussion today about React v6 is exactl…

> After mine was "done", it was done. There is no code churn, all the features are in

Do you actually believe that? Or does your organization not believe in software maintenance and opts to rewrite entire apps instead? In my experience, Enterprise^w software is never "done". A common conclusion to your story is "I've been asked to modify/refactor this app that has ben unchanged since 2005" - sure it's perfectly crafted, but it's in ECMAScript 3. Also Best practices shift over time.

Re: Version 6 of Angular Now Available

#75

Earlier quoted context omitted.

>At the mid-size corporation that I work at, we just standardized all Javascript development on Angular from a mismash of a ton of technologies. Angular seems very well suited for this role. In my experience centralisation and fixation on specific technology leads to stagnation quickly. IMO you should allow teams to choose their own tools. How else will you improve?

This sounds like how you'd end up doing web development in the least efficient way possible. There is a ton of space for reuse, the web is dead simple and the same pattern shows up over and over and over.

You can reuse almost as much without forcing one framework for all teams - making it not least efficient way possible. Not using one tool will encourage team to explore new possibilities, alternatives, learn new paradigms and thinking. In long term this is certainly more effective.

Web is not dead simple (I consider web to be frontend development in this context). Why I would consider web to be hard: - it is harder to do frontend development than backend, because you write code which is sent to one of thousand different compilers, creating another layer of difficulty. Versus controlled environment where your backend code is being run - While there are only few patterns which are applied to FE development, there are many new features(PWAs, real time syncs,..) coming into web. Taking advantage of them requires learning, coding and refactoring. You might say - this is just reinventing the wheel - while partly that is true, developers will still need to learn, adapt knowledge to web, build tools.

Re: Version 6 of Angular Now Available

#76
post #18

Earlier quoted context omitted.

Angular 6 and all future main releases will be supported for 18 months. As for backwards compatibility, as was described in the presentation on the new renderer they are working on, 600 apps at Google are built on Angular, so there is a great deal of internal pressure to make sure backwards compatibility is a constant consideration. Along those lines, one of the big tooling features in this release is the upgrade com…

> Angular 6 and all future main releases will be supported for 18 months. Does that mean that every 18 months you'd have to rewrite your app in the newer angular version? And if not, what does it mean?

Lts is a bad word in the js universe.

And they will tell you upgrade is painless, but it's still work. And then if you have many dependancies (and the npm culture is to make every single function a package...), one of them will be painful, another one will stop working, etc.

And now in this devops world, the same devs will do server maintenance. The next 10 years are going to be so fun to watch.

Re: Version 6 of Angular Now Available

#78

Earlier quoted context omitted.

Angular 2 came out in 2016. Why use angular 1 in 2017?

It was 2016 when we started this front-end rewrite, away from a mess of jQuery and Razor view spaghetti. Angular 2 was brand new, without much support for third-party components we used, and AngularJS looked like the mature option. Probably should have bet the other horse, but c'est la vie.

4 major version bumps in 2 years!!

Re: Version 6 of Angular Now Available

#79
post #39

I was joyfully expecting this upgrade and checked the release notes daily during the RC phase. Don't let the quick 'major' version changes shock you, upgrading 4 -> 5 was easy and I expect the same for this upgrade. A big thanks to everyone involved in shaping this release and ensuring the upgradability for the past major versions, including the huge effort in making it possible to continuously migrate from AngularJS…

That update.angular.io site could really use some CSS work on iPhone 7 to make it usable.

Re: Version 6 of Angular Now Available

#80
post #61

Earlier quoted context omitted.

To quote one of Akin's laws which were on HN yesterday, "better is the enemy of good". It's really good when one technology is used throughout an organization to achieve the same purpose. At some point, the technology you use is actually good enough, and incremental improvements to "keep up with the times" are simply distractions from the real work. And if at some point you find that your tech has truly stagnated, at…

The problem is how will you find that your tech has stagnated? If nobody experiments with new tech - who will teach others? How will that knowledge come into your corp? Hiring new people to do that will not work, because: - People being hired will be evaluated by legacy people (different thinking will be considered disadvantage during interviews) - Legacy people will not listen to new hires since they have no credibi…

These are solvable problems. Just because a group of engineers agree on a standard tool, doesn't mean that they are blind to the world around them, or that they are now doomed to be single minded "legacy" people. I'm sorry if in your experience this hasn't been the case. Maintaining a balance between using modern technology and having a healthy "if it ain't broke, don't fix it" attitude is certainly do-able.

But when every team is doing it's own version of the same thing, that's another story. It can be crushing to productivity, in fact it's likely to be the deciding factor if some types work get done at all. And, unlike your concerns about preventing stagnation, the only way to solve that problem is to stop doing it.

Post reply on HN