Otome-chan ( @Otome-chan@kbin.social ) 3•2 years agoI was once told that I’m very thorough with commenting, and I didn’t have the heart to tell them that if I didn’t comment so well I’d have no idea what my code is doing.
kaupas24 ( @kaupas24@kbin.social ) 1•2 years agoSmart way of doing it. Did something close but in php, a while ago.
ii7mood ( @ii7mood@beehaw.org ) English1•2 years agoI’ll probably just end up commenting out whatever is causing the error lmao
Thndrchld ( @Thndrchld@beehaw.org ) English1•2 years agoThat’s wonderful until you have a client asking why their pre-alpha demo that you forgot they had access to just called them a fuckwit.
Don’t ask me how I know that one :D
cawsllyffant ( @cawsllyffant@lemm.ee ) English1•2 years agoYou too? First job, first production push (circa 1997)… a few days pass and support comes into my office with their hair on fire. “Customer is asking why the program is calling them a fucking idiot.”
In a piece of code that it should have been impossible to hit, I’d put a dialog “Developer is a fucking idiot”.
When I say impossible to hit, it was on the order of
if (a == null && a != null ){}
. Or so I thought… turns out I’d miscounted the curly braces.