Tony works in a shop that makes extensive use of XMLDocs comments. Now, it’s no surprise that many of the comments take the form:

/// <param name="MyParam">My param</param>
public void Foo(int MyParam)

Which yes, renders the documentation useless. Fortunately for Tony, some of his predecessors took steps to render the XMLDocs worse than useless.







public string CalculateHash(string SourcePath)

Three documented parameters for a function which accepts only one parameter.

Now, I would assume that something in their build chain would be outputting warnings about this. My hypothesis is that this codebase outputs so many warnings that someone just disabled them or turned them off. Because according to Tony, this is just one representative function, out of a gigantic codebase of wildly inconsistent documentation.

[Advertisement] Otter – Provision your servers automatically without ever needing to log-in to a command prompt. Get started today!

Remy Porter

Source link

You May Also Like

Biden Unveils Plan to Pay Off Debt – Ted Holland, Humor Times

Dispatches from SNN (Slobovian News Network) Biden unveils plan to eliminate the…

The captive orca Tilikum looking at its trainers. There have only been 4 human deaths caused by orcas as of 2019, and Tilikum was responsible for 3 of them.

Tags: wtf, savage, scary 5536 points, 600 comments. Source link

r/funny – He just loves to be petted

This is a friendly reminder to read our rules. Memes, social media,…

Trump is Suing The FBI For $7.2 Billion

MAR-A-LUNACY – (Satire News) – In a shocking turn of events, former…