5 ms·
> Can you point me to a codebase that does not use comments, as a model of how that looks in practice? Once we actively encourage “comments”, this is what we g
by mandeepj 4y ago
> Can you point me to a codebase that does not use comments, as a model of how that looks in practice?
Once we actively encourage “comments”, this is what we get. It was totally unnecessary -
https://github.com/nopSolutions/nopCommerce/blob/develop/src/Presentation/Nop.Web.Framework/WebWorkContext.cs#L204 https://github.com/nopSolutions/nopCommerce/blob/develop/src...
I welcome this type of comments which does not say the obvious and goes beyond what the code in front of you can’t state -
"// If every heap's gen2 or gen3 size is less than this threshold we will do a blocking GC."
https://raw.githubusercontent.com/dotnet/runtime/main/src/coreclr/gc/gc.cpp https://raw.githubusercontent.com/dotnet/runtime/main/src/co...