Today is a short hit, as there's a comment I want to highlight. This comes to us from Benjamin Urquhart. It's his comment, it's his code, and it's his confession.
// See #ISSUE // This is not the place to monkey patch this // issue, but it's like 2am and quite frankly // I don't care anymore.
Was working on a new feature and needed this particular bug fixed, so I did it in the quickest way possible. Still not sure where else to put this fix (it's in a
ToStringcall, so I guess anywhere is better).
Comments like this are the cry of a developer who knows they should do something different, but just needs to get things done.
[Advertisement] Continuously monitor your servers for configuration changes, and report when there's configuration drift. Get started with Otter today!
This post originally appeared on The Daily WTF.