|
Never, except for one time.
I was working with a product, which shall not be named but it sounds like Crystal Seaports, and I was working with their API which loaded a file and allowed me to set settings runtime.
The files worked with database tables which were in schema's, but the connection string had to be set dynamically for different environments.
So I set the connection string and then some other property and... The file emptied all schema information!
I searched far and wide for a solution until I finally found some example code that should work.
Copy-pasted it and it worked.
After I cleaned up the code [read: adjusted it to my personal taste] I found it was the exact same code as before except... The other property was now set first and then the connection string.
I switched them around and it broke again, switched them back and it worked again.
I wrote a comment about the code, Crystal R... ehhh Seaports, and the unknown developer who worked on the API.
Nothing good was said in that comment.
I remember using the words "drunk" and "drugged" to describe the unknown developer
|
|
|
|
|
Profanity? In code comments? Never!
My code is a different matter. It should not rely on comments for clarification anyway.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Never put anything in writing. But, if either of my monitors had ears...
|
|
|
|
|
Don't worry about the monitors. You should worry more about the toasters[^].
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Never. OTOH, I have often asked my boss to send me to <a country known for poor-quality outsourced code> so I could put the developer of some abortion out of my misery.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
I don't because you never know who will see it someday. I do load up on snark and sarcasm though.
goto label; // I'll just leave this here.
|
|
|
|
|
Entertaining thread. To my knowledge, I only used one bad word, and I'll probably re-factor it out later
The sarcasm and snarky stays.
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
charlieg wrote: Completely random poll, but must be truthful. I'm trying to unwind a large block of magic code across multiple threads, many of them haphazardly borrowing data from each other via globals. I am slowly dying from a thousand cuts..... My first boss didn't allow profanity in code, since he'd want to be able to show the code to the customers. That wasn't limited to comments, but also the naming of variables and such.
Bad code is exactly that; and someone paid for it
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Never profanity on code that is for use by others, when I'm learning stuff, oh dear, mind you have use the odd Monty Python, Star Trek quote.
My favourite being when I was asked to check some code from another source.
#define FortyOne 42 //The Answer to Life The Universe and Everything
|
|
|
|
|
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
Never.
I don't f*%$ing swear you s%$"ing b*^&%%d!
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
*raises hand*
cheers
Chris Maunder
|
|
|
|
|
I never do it.
I worked for a short period for a company where the head developer did it and it just had this really icky feel to it.
Just think, when you swear in the office people can hear it for than instant, but when you swear in code it's there for everyone to see and you are imposing your brain fart on them every time they read that code(sure it can be refactored but it will be there in the version history).
I don't want to impose my temporary profane and negative mental states on other people who come across my code.
Crikey that sounds like I am some ##&#&!#ing holier than thou mendicant!
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
modified 24-Jun-19 10:14am.
|
|
|
|
|
Nope, I often swear at computers but I try not swear on them.
I will occasionally throw in a "WTF????" as a temporary marker but it's been many years since I used the full text in a comment.
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
|
|
|
|
|
Funny story...not long ago I put a few unsavory comments when I was interrupted numerous times while working on a piece of code. The code in question, when deployed to the customer refused to run.
My first thought was that the bad comments had somehow caused it, so I immediately removed the coarse language, recompiled, redeployed and guess what?...it still didn't work!
"Go forth into the source" - Neal Morse
|
|
|
|
|
Can't have profanity if you don't have comments :P
|
|
|
|
|
Jacquers wrote: Can't have profanity if you don't have comments :P Lots of places where you could, but not should
The using -clause may be especially tempting.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
I don't put profanity in, but I can get a bit snarky, and will not hesitate to lambast MS, et al for glaring shortcomings.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I use it an awful lot outside the comments. Does that count?
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Never. I did name a boolean variable "HellFreezesOver" and then set it to false. I then used it as
Do
…
Until HellFreezesOver
|
|
|
|
|
I like it
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
Because you basically can't...
I'm trying to schedule one, but when I click the "Schedule exam >" button I get a blank page.
Opening the console shows some JavaScript errors.
So I decide to use Edge instead of Chrome.
I don't think that should matter in 2019... And it doesn't because it's broken on Edge too
Only on IE am I able to schedule an exam
|
|
|
|
|
But I bet, the icons are great
Sander Rossel wrote: Only on IE am I able to schedule an exam Things are not done as before anymore
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
I saw it before - on government portals... It just to tell you how Microsoft is big...
"The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012
|
|
|
|