News for hackers. Stuff that matters.
Re:Angular v8.0 by royjacobs on Wednesday May 29, 2019 @08:39AM (#20039375)
Apart from being verbose, why is that a bad thing? Spring is used to successfully build massive applications. You can meme about Spring's AbstractFactoryBeans all day, but in the end it does what it's supposed to do.
Re:Angular v8.0 by scotchbonnet on Wednesday May 29, 2019 @09:20AM (#20039784)
I maintain a class library that is highly depended upon in the rest of our company. I don't like to introduce dependencies at my later because of that. So things like DI are all factory patterns / builder patterns. It's explicit and has kept my object lifecycle super manageable.

It feels like the people who meme about EnterpriseFactoryFactory at times just haven't hit the right use case for it.

Re:Angular v8.0 by RhodesianHunter on Wednesday May 29, 2019 @09:37AM (#20039967)
And if they do ever hit it, having never seen a reason to use it before, they instead layer over it with poorly thought out abstractions leading to unmaintainable code that they'll probably hoist onto the next dev.
Re:Angular v8.0 by porker on Wednesday May 29, 2019 @11:15AM (#20041138)
I'd like to understand this more, as being on the fringe of popular open source projects I think I experience this. Can you expand any further with pseudocode?
Re:Angular v8.0 by p2t2p on Wednesday May 29, 2019 @08:57AM (#20039559)
Recently I had to hide a bunch of functionality for certain license type in a product. Spring + AspectJ turned it into a enjoyable experience - just add one annotation, two classes, one for aspect, another for exception mapper in rest and you can mark any class as "requires certain type of license" in one like of code now.
Re:Angular v8.0 by merb on Wednesday May 29, 2019 @09:47AM (#20040074)
the problem in angular is that it's bloated. and their components generate a load of bloat. Since basically all components have a FactoryComponent thingy, which you don't see, because it gets generated. However a bigger application can easily grow to a few mbs which is a huge no-no for javascript in the browser.