@MrBildo@Dave_DotNet Imho this is close to the same amount of lines. But now you have a mutable userRepository that can be used inside the class. You can fix that by giving the primary ctor parameter the same name but this screws with default naming scheme of .NET, so still not a fan.
@Dave_DotNet Imho this example isn't the same.
The top one, you can't change the _dbContext.
In the bottom one, you can.
And the syntax to make them readonly makes me prefer to just stay with the original, so 👎🏻
🌴 2 weeks ago, We (the @intigriti team) went on a well-deserved offsite trip to celebrate our series B. It was also a good chance to finally meet again after all that Covid mess 🤗
Go check out what we were up to 💪
One thing upfront - it was legendary
https://t.co/T3aZ0Ek7uE
Unique opportunity: @Intel and Intigriti are organizing an exclusive virtual hacking experience focused on Intel® Software Guard Extensions (Intel® SGX).
Apply now and you may earn entry into a subsequent live hacking event on an unreleased Intel product:
https://t.co/ZOWaybFBUH
@alph4byt3 @intigriti FYI when we did our internal testing we found that Twitter recalculates the meta information when you actually send the tweet. So it's possible the preview is still the old one but the actual will be the correct image.