Re:Ask HN: What are the books you wish your colleagues had r...
by olavk on Sunday February 11, 2018 @11:18AM
(#16353270)
Singletons have fallen out of favor, not because of language improvements, but because of increased focus on unit testing, which does not work well with singletons. I believe this trend actually started earlier in Java than in .net.
Re:Ask HN: What are the books you wish your colleagues had r...
by maveonair on Sunday February 11, 2018 @06:20AM
(#16352221)
Well, what’s about the new HttpClientFactory... https://github.com/aspnet/HttpClientFactory
Re:Ask HN: What are the books you wish your colleagues had r...
by mattmanser on Sunday February 11, 2018 @08:01AM
(#16352504)
Yeah, what with the asp.net core team being such great devs, I'll definitely listen to them.
That team can't commit to anything and yet make regular sweeping changes to the framework depending on whatever the current flavour of the month is. This month it's DI, DI, DI.
They've been incredibly inconsistent since ScottGu left.
In modern C# you won't see hide nor hair of Factories, Singletons, etc.
Expect modern Java to be the same in a few years.