3 ms·
It's even worse. In Java the whole factory/provider approach was down to a limitation of the type system. Yes they (we) went completely overboard with it and t
by fauigerzigerk 13y ago
It's even worse. In Java the whole factory/provider approach was down to a limitation of the type system. Yes they (we) went completely overboard with it and the ridicule is deserved.
But what on earth is the justification for using that pattern in a dynamically typed language that lets you tack anything onto an existing object without controlling its creation?
- Bahamut 13y agoI too was interested in what decisions spurred this design with application using Angular at one point, and there is a talk from ng-conf by one of the core developers of Angular that I think illuminates this: https://www.youtube.com/watch?v=_OGGsf1ZXMs https://www.youtube.com/watch?v=_OGGsf1ZXMs It boils down to managing complexity in complex web apps.
- insin 13y agoSo it's a ComplexComplexApplicationComplexityManager.