@samayo Welcome to the C# chat! Please review the room guidelines and tips. If you have a question, just post it, and if anyone's free and interested they'll help.
I've read somewhere that .netcore+ have built in dependency injection mechanism. Does this mean that there's no need to add Autofac anymore because of those built in mechanisms?
I introduced some stuff and my colleagues keep saying they dont understand any of it however, I am not sure if they dont understand it because it is simply too difficult or if they dont understand it because of a lack of effort
Some people are really bad at being able to think more generally about code. They can bash out classes, constructors, factories all the time but it's just formulaic.
@Wietlol My guess: little bit of column A / little bit of column B
It's not really hard. But it does require thinking about the problem from a different perspective. That perspective shift can be hard if people aren't used to it.
Also, as I said, some just don't really seem to be able to comprehend code well.
I found the hardest thing to put across is that FP is about "series of operations". Once you get that, it's easier to talk about functors/monads. They are just ways to apply operations.
So, it requires some background to fully appreciate why those are there. But it's hard to break into that, since if you just say "functors help with chaining the same operation" you'd get quizzical looks about why you'd even do that instead of X existing feature. But talking about the operations themselves gets people going "But why would I use that - seems less convenient"...which is what a functor would be for.
It's kind of a chicken and egg problem. Although if people do a perspective shift, it becomes quite clear.
Staying up to date with relevant news about your tech stack and virtual events is not always easy. There are lots of different sources and seeking out the information can be time-consuming. To help get you the information you need, we’re experimenting with bringing back Developer News inside Visual Studio – this time with some refreshing updates. The post Get your developer news appeared first…
Introducing Bean Machine Graph Bean Machine has many nice properties: I’m not going to go into details of how Bean Machine proper implements inference, at least not at this time. Suffice to say that the implementation of the inference algorithms … Continue reading →
Hi all, is there an open-source project that demonstrates most (if not all) of the async/await and multi-threading features in C#, like the console apps we create all the time to test and investigate async/await behavior..
A rich user control ecosystem has always been one of the most important WinForms success guarantors. While the runtime support for Custom Controls remains unchanged, there are breaking changes with the design time support for the new Windows Forms (WinForms) .NET Designer. The post Custom Controls for WinForm’s Out-Of-Process Designer appeared first on .NET Blog.
There are cases where recovery from an Entity Framework Core (EF Core) DbUpdateException is possible if you play your cards right. Play them wrong and the result is heartbreak and tears as every call to SaveChangesAsync rethrows the same exception.