Hacker News new | ask | show | jobs
by andrew_wc_brown 4827 days ago
At the end of the day, I want to write the least amount of code, have the best performance, and be able to have an easy way to test my code and all I had to do was get over putting extra code in my DOM and structuring my javascript in a way I wasn't familiar with.

Browse the AngularJS source code and you'll see it littered with jsperf, they care about performance and you'll learn a lot about javascript performance.

You'll write fewer files in AngularJS since you don't need to create a file for every view and model. I'd say I write 60% less javascript.

Testing is easy, AngularJS integrates easily with Testacular, and because you never manipulate the dom directly, all your code you write is logical making writing test code straight forward.

You won't see many tutorials but when you google for specific problems you'll find many jsfiddle examples which made learning AngularJS easier than BackboneJs and EmberJS.

1 comments

Testacular is now called Karma if anybody has trouble finding the project:

https://github.com/karma-runner/karma/issues/376