xD (For clarity I'm attempting to be funny in this comment)
7 karma · joined February 4, 2014
xD (For clarity I'm attempting to be funny in this comment)
After you wrote about my example, I realize that you are correct, it was not a great one. My bad!
As for your bad experience, I can see how that can happen with Angular, but I can also see that happening in other ways with other libraries. In my opinion that is solved by using good code patterns and writing code for others, not for yourself. I'll leave this relevant quote:
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
String templates outperform DOM, this was very true in the past and as far as I know still is true. The great advantage of it, is the "live" data bindings, which I think depend on the template being the actual live DOM. (I can be wrong here, and if I am then I need to go learn more about this choice)
As for the documentation point, you are right I contradict myself. What I meant to say is that angular suggests a way to structure your application versus backbone for example that only gives you the tools and no structure.
Thanks for pointing these out, I'll have to be more careful on how I express myself next time I write something.