AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Dotnet Delegates - What's the Difference?
The joy of the delegate way of doing things is, if you only have a single method on, say, a class, then why not just write it as a function? But also doing the interface thing. You see a lot of dotnet jects where pretty much every single class has an interest just to follow this pattern. Do you find that sometimes that's overdone? Is the i think that some people argue, do you need dependency injection at all? And i think if you got a really tiny little consol ap, then do you really need Dependency Injection?