4 ms·
Would you mind clarifying on how AngularJS is better than BackboneJS when it comes to having testable & manageable code? I am currently working setting up a uni
by rohitv 13y ago
Would you mind clarifying on how AngularJS is better than BackboneJS when it comes to having testable & manageable code? I am currently working setting up a unit testing environment with BackboneJS, it seems to be working well. What major differences exist when you test the two?
- chrisrhoden 13y ago1. DI. 2. Clear separation of concerns. I believe that writing testable Javascript has been possible since the name Javascript was invented. Angular.js has made it easier by doing its best to force you to write testable code.
- frankblizzard 13y agoyou can use DI in backbone and clearly seperate your concerns as well. It is just not as much enforced in the framework (not opinionated)
- chrisrhoden 13y agoSo you agree with me.