4 ms·
I remind myself frequently not to swear in code as I am quite juvenile on a normal day. If I'm struggling I'll just make up a word, so that if it ever happens t
by kagamine 11y ago
I remind myself frequently not to swear in code as I am quite juvenile on a normal day. If I'm struggling I'll just make up a word, so that if it ever happens that someone else sees it I can say it is an acronym but that I have conveniently forgotten for what.
- bryanrasmussen 11y agoYou could always put a "this should never happen" right before the swear words so they know it wasn't your fault.
- kagamine 11y agoBut there's a risk I'll become stuck in an infinite loop of writing shit! this should never happen shit! this should never happen shit! ... and so on. Still it would be a change from writing bad code.
- bryanrasmussen 11y agoWow, deja-vu, this is just what happened to me one time when I was working on a new booking system for a hotel. I was working on site over the winter season when the hotel was closed down, a lovely old hotel high up in the Rockies. Every day I sat down and wanted to write some brilliant code but all I ever ended up writing was the same comment All objects and no functions makes Jack a dull boy. over and over again. Drove me quite mad actually. Sometimes I feel like I'm still there.
- sinxoveretothex 11y agoI had a hearthy chuckle when learning about Android's Log class: the highest level of importance for a message is WTF. Documented as What a Terrible Failure.