Guard.NET #362
Replies: 1 comment 3 replies
-
Thanks for bring this to our attention. The fact that it hasn't received any recent updates is maybe related to the fact that this library doesn't have that much functionality. Next to that, Guard.NET supports .NET standard, so it supports a whole lot of .NET versions. With more recent versions of .NET, we can simplify null checks as well with built-in functionality, like this:
And in C# 11, we can even just write it like this:
See here So, my take would be to slowly move away from using Guard.NET in Arcus :) What's your opinion @stijnmoreels ? |
Beta Was this translation helpful? Give feedback.
-
Hi,
We are experiencing some memory leaks because of Guard.NET in my project. It takes up to 100MB.
It also seems that the GitHub repo is not very active anymore: https://github.com/george-pancescu/Guard.
Question here is: should we maintain to use Guard in Arcus or should we move away from it?
We decided to implement Guard on our own.
Beta Was this translation helpful? Give feedback.
All reactions