4 ms·
Sure, I wish Javascript had a stronger type system too, but I'm not sure how that's relevant to an Angular/jQuery discussion. You still have business logic tha
by bmm6o 13y ago
Sure, I wish Javascript had a stronger type system too, but I'm not sure how that's relevant to an Angular/jQuery discussion. You still have business logic that you either test or don't test, right? At least angular globally supports DI for sane unit testing.
You're right that directives are very declarative, but I didn't mention them because they don't really have a counterpart in jQuery unless you rolled your own.
I like Angular a lot. Even just the data binding and $watch system would relieve a lot of tedious code and can make for a really responsive UI.
- ssmoot 13y agoThe relevance (to my mind) is that Angular tries to bring in MVC and other Patterns. And I think any time you attempt to mix PoEAA style Patterns with weak Type systems you're trying to force a square peg into a round hole. IME it's much more successful to focus on the Functional aspects, Declarative binding, and Modularization since with tools like jQuery these things are JavaScript's bag. And Angular is about as far from a Functional style as you can get. So to me at least it feels very much like the wrong tool (JavaScript) for the job (building and using an MVC framework).