As expected by large-scale programmers, especially in nowadays web app time.
Functional programming makes life easy when it first faces to simple web font-end programming, and becomes hard when facing complex apps. Pure functional programming masks code hard to read by others.So, various ways to simulate OO behaviors are used widely, in jQuery, even in Angular itself. And things make OO programming easy is not saying to abandon functional programming. Instead, it's a supplement to functional programming. Those together make code simple and at the same time easy to read and maintain. And classjs is really the most consice one as far as i know. 在 2014年6月3日星期二UTC+8下午5时34分04秒,mark prades写道: > > But the code itself is not intuitively object-oriented as expected > > > As expected by whom? > > classjs is pure cargo culting. learn functional programming patterns and > you'll understand AngularJS code. > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
