Is it just the text that's supposed to be upside down:
ᴉɟ (ɐ == q) {
ɔ;
}
Or the whole thing? {
;ɔ
} (q == ɐ) ɟᴉ
I want to make sure I do this the right way.Hi chunkyfunky. I recently read Clean Code, great book.
I agree with your take on DIP.
We're using Microsoft Service Collection and with the Scrutor nuget component we were able to easily decorate an implementation from another package to extend the functionality adhering to the open closed principle OCP.
DI also enables your code to be open for extension but closed for modification.
Great stuff!
Re:Astonishing Performance of .NET 5
by chunkyfunky on Friday November 13, 2020 @03:20AM
(#25080221)
Scrutor looks great, I must take it for a spin! And that is a great point about DI - being able to extend code/behaviour by injecting a different implementation of a dependency
If you're not using abstractions, you are not using the DIP. What is being described here with low-level modules depending on high-level modules is categorically not the DIP, and I am starting to wonder if this is perhaps part of the frustration that the poster we're replying to has experienced with DI, since turning your coupling upside down will have the same problems as just high coupling in general, except everything is upside down now and harder to read :)