Hacker News new | ask | show | jobs
by haalcion3 3531 days ago
I'd like to discuss the following comparison in: https://vuejs.org/guide/comparison.html#Angular-2

> Vue 2.0 seems to be ahead of Angular 2 according to this 3rd party benchmark. ( http://stefankrause.net/js-frameworks-benchmark4/webdriver-t... )

The latest benchmark provided is actually:

https://rawgit.com/krausest/js-framework-benchmark/master/we...

But, Angular 2 is v2.1.1 now, released 2016-10-20. Someone should update: https://github.com/krausest/js-framework-benchmark

However, as they say, "In terms of performance, both frameworks are exceptionally fast and there isn’t enough data from real world use cases to make a verdict."

And Angular 2 Hello World is easier than they make it seem in the comparison:

> starts out with an app that uses ES2015 JavaScript, NPM with 18 dependencies, 4 files, and over 3,000 words to explain it all - just to say Hello World.

It's just the following with a lot of documentation that could be simplified:

  mkdir angular-quickstart
  (add package.json)
  npm install
  mkdir app
  (add app.component.js)
  (add app/app.module.js)
  (add app/main.js)
  cd ..
  (add index.html)
  (add styles.css - optional step)
  npm start
Also, it makes the case that Angular2 is "enterprise" because many use TypeScript with it. But, TypeScript is optional in both Vue and Angular2, so people could just as easily make the argument that Vue is "enterprise" because it supports TypeScript.

Finally, it's true that Google uses/develops Angular2, so that's some significant backing. If you want to see who's using Vue:

https://github.com/vuejs/awesome-vue#projects-using-vuejs

That doesn't mean anything on its own, though. It could be just fine to use and expect to continue to be hyped.

1 comments

>But, TypeScript is optional in [..] Angular2,

typescript is not optional. Just look at the official docs. the js version of docs are still incompelte even though 2.1 has been released.

>it's true that Google uses/develops Angular2

Google's major product is adwords. And adwords is built on angular2 dart version. While devs mostly use ts version.