Hi, sander, Glad to see your reply.
I am not proving that OO is better than any other way. And I am afraid that there is no such study trying to prove that. Yeah, I believe we both are good at functional programming. And I also believe we both are using OO at the same time. When doing functional programing, do you use objects, do you deal with constructors and methods, do you override existing methods, and do you, occasionally, use inheritance? I'm not talking about giving up functional programming and go towards pure OO. I am talking about that the OO part we are using when doing functional programming is not intuitive/concise/readable enough. Yeah, I would say complex constructors are bad if they could be coded in a concise and straight-forward way. And I would say scattering methods everywhere is bad if those methods could be collected in one place. And I would say that that reading all the code is needed to get right understanding of code is bad if only reading the part of concerned code is possible. That is what 1.2.3. of my previous reply are talking about. And, all those have nothing to do with that using OO instead of FP. To be short, I am saying that if use OO, we should use it in a intuitive/concise/readable way. Just easy to write is not well enough. Good code should be easy to read by others. So, I think ES6 are not giving in. It is giving a concise/intuitive way to us who are using OO when doing functional programming. And you could hardly find an independent study trying to prove that ES6 is giving in to people like me, right? I am not forcing anyone to follow any way. I am just here to point out a potential way towards better OO when doing FP for angularjs source contributors and angularjs app developers. Sincerely, Leo -- 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.
