Live data from Hacker News

Angular 4.0.0 Now Available

angularjs.blogspot.com

351–360 of 360 posts

Re: Angular 4.0.0 Now Available

#351

Earlier quoted context omitted.

Try Vue.js. It's what Angular 2 could have been, if they had taken proper advantage of ES2015 and virtual DOM. Another way of looking at it: Angular 1 and React had a baby, and they named it Vue.js. Vue has HTML templates like Angular and virtual DOM like React. It is faster than both of them. It has a smaller file size than both of them. It has a clever single file component concept that makes developing components…

I'm glad that Angular 2 is the way it is because it allows to build enterprise-sized applications more easily that using Vue.js. I love Vue.js too, but just for small projects or when I need to add some complex functionality to an existing site that is not SPA. I guess it comes down with the saying "the right tool for the job".

> I'm glad that Angular 2 is the way it is because it allows to build enterprise-sized applications more easily that using Vue.js.

That's just FUD, there is nothing in Angular that makes it more oriented toward Enterprise than Vue.js, unless you consider bloat an necessary component of any enterprise oriented solution, which is obviously a lie. What will decide which framework is "enterprise" is the ecosystem, the amount of widgets, not the bloat.

> I guess it comes down with the saying "the right tool for the job".

Exactly, the right tool for the job, AKA using a library that does only what it should do instead of trying to be anything and everything because its creators think the complex it looks, the more enterprisey it sounds. They will learn the hard way, and so will you.

Re: Angular 4.0.0 Now Available

#352
post #183

Hmm. I see that Angular is getting aaaaalot of hate here. I really tried to understand why but have not found really valid reasons, just preferences. I have used Angular 1.x a lot and have just tried Angular 2. It really enables me (somebody who comes from primarily strong backend dev experience) to work on frontend SPA apps productively and fast. It does not 'feel' heavyweight or that it gets in my way too much, but…

There is probably a non-trivial amount of astroturfing here, but also software developers are people too, and people get dogmatic about their opinions. I probably won't ever use Angular unless I find myself desperate for work and can't find anything else. The problem I see inherent in frameworks is that they are all dogmatic about their opinions, and thus criticism of frameworks often do boil down to "I don't agree w…

[deleted]

Re: Angular 4.0.0 Now Available

#353
post #178

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've never seen anyone conflate TypeScript with angular before GP's comment. (And I happen to agree with him on angular being confusing and not well designed)

Unfortunately I've met some devs new to SPA stuff and they believe it's either react/flow or angular/typescript. They're being promoted this way in the intro docs on both sides.

Re: Angular 4.0.0 Now Available

#354
post #250

Earlier quoted context omitted.

Try Vue.js. It's what Angular 2 could have been, if they had taken proper advantage of ES2015 and virtual DOM. Another way of looking at it: Angular 1 and React had a baby, and they named it Vue.js. Vue has HTML templates like Angular and virtual DOM like React. It is faster than both of them. It has a smaller file size than both of them. It has a clever single file component concept that makes developing components…

Why are HTML templates a good thing? It's hands down my least favorite part of Vue.

I find them to be helpful in being able to see the markup as a complete chunk, without code getting in the way. In teams with "coders" and "designers", this also makes it easier for the designers to understand the components and do their work.

Re: Angular 4.0.0 Now Available

#355
post #275

Earlier quoted context omitted.

Try Vue.js. It's what Angular 2 could have been, if they had taken proper advantage of ES2015 and virtual DOM. Another way of looking at it: Angular 1 and React had a baby, and they named it Vue.js. Vue has HTML templates like Angular and virtual DOM like React. It is faster than both of them. It has a smaller file size than both of them. It has a clever single file component concept that makes developing components…

i've built large applications in both Vue and Angular 2 and i still prefer Angular. don't get me wrong, Vue 2 is really nice, but i strongly prefer TypeScript over any JavaScript revision. Flow is helpful, and Vue 2 has typings, but it isn't quite as powerful as working with a TypeScript framework building a TypeScript app. to each their own, of course.

I'm on the fence about TS. I see the value in it, but it can be a lot of trouble to use, and I have found that the mistakes I make are almost all caught by a ESLint (and the remaining mistakes aren't type system mistakes).

Re: Angular 4.0.0 Now Available

#356

Earlier quoted context omitted.

I propose a variant versioning scheme that bumps the MINOR version for backwards incompatibilities and reserves MAJOR version bumps for subjectively "big" changes. http://www.bayleshanks.com/wiki.pl?proj-sanDiegoVersioning

This is what the AngularJS versioning scheme was, nearly exactly. Everybody hated it. Hence, semver :)

Huh, thanks for the info! Would you happen to have any hyperlinks to the discussions where people hated on the old scheme? I'd like to read up on this more.

Re: Angular 4.0.0 Now Available

#357

Earlier quoted context omitted.

Me too. And I just got started.

my fav http://vanilla-js.com/

I'd like to interject for a moment. Before using vanilla-js, have you tried Svelte, the magical disappearing UI framework? It compiles/transpiles your JavaScript to... vanilla JavaScript and it literally "solves the JavaScript bloat crisis".

Someone on hackernews said it would be the future!

Re: Angular 4.0.0 Now Available

#358
post #195
post #168

Earlier quoted context omitted.

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…

Better trend comparison (the other one the first example query for react was "Youtubers react")

https://trends.google.com/trends/explore?q=%2Fm%2F0j45p7w,%2...

Re: Angular 4.0.0 Now Available

#359
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/

That's legacy projects I bet. Of course, big projects have to stay with a technology for at least 2 years, can't keep rewriting things every time a new framework comes out. In this case, they unfortunately picked a framework that was discontinued. I talked to many devs who didn't accept a job because it was Angular instead of React.

That is purely anecdotal. There are a lot of companies and devs outside your circles that don't jump on the new shiny, and will continue to use Angular going forward.

Re: Angular 4.0.0 Now Available

#360

I suspect there's going to be a bit of pushback to this acceleration in numbering.

If my experience is any indication of general industry practices, businesses are very risk averse when it comes to upgrading libraries or dependencies as it usually triggers costly regression testing. At my current gig, we still run on angular 1.3.something and there is no way the business will allow us to migrate to v2 as we struggle to justify exactly what added value will we get from essentially a top-down rewrite…

similar to your case, our product was also built on angular 1.x. However, we (and the product as well) have had a better fate in which we successfully convince the big guy to use React for any new feature that we want to build or code we need to fix. Now, we are having more and more react components, and lesser angular 1 code every day.
Post reply on HN