If at first you don’t succeed. Try, try again.
I’ve replaced some the code here with a comment
// code redacted since that’s not what is important here. Just note that everywhere I put that comment, was the same line of code.
Much like the other bits in our Code of Shame, it works. But why would you do this? About a decade ago a development company in town rewarded developers by how many lines of code were written. Maybe that’s what is going on here? Who knows. Here’s one way it could have been written: