News for hackers. Stuff that matters.
Re:A Comparison of Angular, Backbone, CanJS and Ember by curveship on Wednesday April 17, 2013 @02:47PM (#5566246)
Since you asked, from my experience, there is one very good reason for KO-style functional observables rather than plain JS: immediate naming errors. If I type obj.prop when I should have typed obj.Prop, it simply returns undefined. But if I said obj.prop(), it excepts. This means that naming errors are diagnosed right at the site and immediately. I've found this a significant advantage to KO-style observables, particularly when refactoring code.
Re:A Comparison of Angular, Backbone, CanJS and Ember by Guillaume86 on Thursday April 18, 2013 @05:21PM (#5573175)
Naming conventions is usually enough for me. Not having to wrap every declaration/get/set (with Ajax data in particular) still outweight this little side effect IMO.