|
Well, no, you might not show your code to a customer but your customer might just get to see something in it.
Many, many years a go, I finished a long switch statement with something to the effect of:
default: errorText = "[Little round things]! Cannot possibly get here ...";
Needless to say, a couple of years later, it did manage to get there ...
And code does sometimes get sent to third parties, my favourite comment in some code that I received, read (in highly bowlderised form):
The redacted name being the owner of the company in question and the comment being somewhat factual - but still the best PR move ever!
So, basically, no, I don't use naughty words in source files these days. Somebody, somewhere, will see it at some point!
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
|
|
|
|
|
PeejayAdams wrote: So, basically, no, I don't use naughty words in source files these days. Somebody, somewhere, will see it at some point! I will not have my naughty parts removed just to prevent others from seeing them.
In the articles that I wrote you'll more likely find attempts at humor instead of profanity, but the goal is the same; it was probably a frustrating piece of code that the reader is to be warned of. I am not writing an essay or a PG13 movie script; it is code, and I will expect the audience to be another coder.
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'm more than happy to use the full breadth of the English language in any situation where there aren't any children around (and will fervently defend my right to do so), but in situations - such as code - where you don't know who will wind up reading what you write, I think it's safer to assume that it might be a little kid, however unlikely that is in reality.
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
|
|
|
|
|
PeejayAdams wrote: I think it's safer to assume that it might be a little kid, however unlikely that is in reality. Oh, yes, we got to save the kids from profanity! It's a gateway to drugs and murder.
Also check your code to see if you're using the correct pronouns, as it may scar someone for life!
PeejayAdams wrote: in situations - such as code - where you don't know who will wind up reading what you write It is not a diary; your code will not be published to the larger public. Comments in code are there to make clear what is happening, to limit bugs, and to make it easier to understand. That's the goal.
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.
|
|
|
|
|
Eddy Vluggen wrote: Oh, yes, we got to save the kids from profanity! It's a gateway to drugs and murder.
Oh God, nothing like that! I'm not an elephanting puritan, I'm on the kids' side on this one.
By surrounding children with swearwords you're denying them one of the more fun and furtive educational activities of their youth - looking up and finding out what various forbidden words mean. Didn't you used to love looking up "elephant" in the family dictionary when no-one was looking? Or enumerating the words you knew that you couldn't use at home?
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
|
|
|
|
|
PeejayAdams wrote: By surrounding children with swearwords I am not surrounding children with swearwords when uploading code to GitHub. That's a heavy overreaction, even if there's a curse-word in the code.
PeejayAdams wrote: you're denying them one of the more fun and furtive educational activities of their youth - looking up and finding out what various forbidden words mean That would not be denying them, but providing them with fodder.
PeejayAdams wrote: Didn't you used to love looking up "elephant" in the family dictionary when no-one was looking? This is Europe. We had the subject in school and had to take exams on it. No need to look things up if they are part of your homework.
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.
|
|
|
|
|
Eddy Vluggen wrote: This is Europe. We had the subject in school and had to take exams on it. Not true.
I don't know in holland, but I had en education quite free of "bad words" in the school area / time and I went to a normal public school (just in case).
I know you like sarcasm but... just because things are a mess now, you don't need to extrapolate it to the past or to the whole europe.
And if you want to continue, I suggest you to open a thread in the soapbox
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.
|
|
|
|
|
Nelek wrote: Not true.
I don't know in holland, but I had en education quite free of "bad words" in the school area / time and I went to a normal public school (just in case). I was not referring to eduction of "bad words", but normal sexual education
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.
|
|
|
|
|
PeejayAdams wrote: Or enumerating the words you knew that you couldn't use at home?
Some time ago, my father pointed out that in Europe, you may defecate, micturate, and fornicate in public. But God help you if you smoke!
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Eddy Vluggen wrote: It is not a diary; your code will not be published to the larger public.
Perhaps not published by yourself - The Weird and The Wonderful[^]
|
|
|
|
|
I'm currently working in a regulated industry. My last three jobs were also in regulated industries. In all but one of these, the source code is reviewed by agencies who won't reject your software simply for unprofessional comments (unless such comments are perceived as being directed at them), but will likely, and I believe justifiably, cause them to give the code extra scrutiny. Moreover, it will likely create a negative impression, which could cause unnecessary hassles in the future.
|
|
|
|
|
|
Microsoft is positioning UWP for traditional line of business (LOB) applications with an emphasis on rapid application development (RAD) using the Windows Template Studio. Because positioning it as the general UI model definitely wasn't working
|
|
|
|
|
I wonder why they didn't just modernize WPF. It's a mature and proven framework for LOB applications that unfortunately is stuck in 2010 from a technology perspective. Instead, they decided to reinvent the wheel. Literally, because UWP just uses the same old concepts and has the same old features like WPF or Silverlight, but often in a rather crippled implementation. For example, you cannot have read-only dependency properties or use property coercion, and it's missing essential controls. On the other hand, new concepts in UWP, like themed resources or x:Bind, and modern controls, are missing from WPF. It's a mess of two worlds.
|
|
|
|
|
'Greed-Accelerated Development 'is the completely achievable desire to want more from your work than just the immediate benefit while not paying any additional price for it. "The point is ladies and gentlemen that greed, for lack of a better word, is good."
|
|
|
|
|
|
Working with oracle years ago - shudder. To say their licensing was aggressive is an understatement. So these two Oracle guys come in for a meeting to discuss our product development plans, meaning, you need more licenses and pay us more money. Before they left, my VP turns to me and says, "Start the mysql project now."
Nuf said
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've heard too many stories like that...
|
|
|
|
|
charlieg wrote: Before they left, my VP turns to me and says, "Start the mysql project now."
Great story.
|
|
|
|
|
The amazing part of the story is what I left out. Our product was rapidly scaling to N instances passing through the database. We could have lived with some version of log(n) licensing (hey, we sell value too). The sales guys wanted N. Further, when we discussed the idea of a working queue of threads, the Oracle sales guys shut that down immediately. Nope, it's N or nothing at all. The meeting was surreal - I don't think the sales guys had heard of mySql or Postgres. I think what rankled us the most was their total lack of concern that they were pricing our product out of the market. Damn near sociopathic behavior.
When you run into this, most normal people have trouble believing what they are hearing.
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
|
|
|
|
|
A new study found that blue light can cause macular degeneration, one of the leading causes of blindness. Everything is killing us, part 470
|
|
|
|
|
Note : Change all anchor tags to bright red !
Zen and the art of software maintenance : rm -rf *
Maths is like love : a simple idea but it can get complicated.
|
|
|
|
|
More than three-quarters of the admins surveyed want Microsoft to release feature upgrades just once a year – or even once every other year. One admin decried an upgrade pace that 'never ends.' "The train it won't stop going. No way to slow down"
That's feature upgrades, not security patches, I hope
|
|
|
|
|
Let me get this straight; these IT departments are so weak-willed that they are unable to resist the six month upgrades. Perhaps they should take it easy.
|
|
|
|
|
its micrsoft asking people to beta test their s/w on the staff laptops and desktops and its it that have to bear the brunt of "my laptops not working" "Cant copy and paste" "My outlook stop working"... blah .. blah...
Caveat Emptor.
"Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long
|
|
|
|