|
...like, "Refactor, because this sux!"
Another one we had was a stored procedure that's been in use for 5 years. The header comments read:
12/06 this sux
10/09 still sux
5/11 I've just accepted it sux and will stay that way
|
|
|
|
|
I think that is still acceptable, but if your client is going to be looking at your coding, and actually understands what he/she is reading, it is frowned upon. But between Coders it is acceptable.
Henco Eloff
|
|
|
|
|
As a general rule of thumb I refrain from vulgarity in my written words and limit there usage in my verbal vocabulary as well. However; I do put creative slandering text in comments referencing some quest and the struggle to accomplish what is being looked it. I see it as a way of in the distant future someone may pose the question "Why" so the comment tells why and creatively express that it wasn't easily obtained.
|
|
|
|
|
I see it as very unprofessional. Come to think of it...I have never thought about cussing in my coding
|
|
|
|
|
Henco Eloff wrote: I see it as very unprofessional.
I may have a silly comment depending on my mood but I would never ever cuss anywhere in my code, comments or anything else I write for work. At least I have not done so in my first million lines of C++ code I have written for my job.
John
|
|
|
|
|
I could not agree with you more. I never knew that people actually did that. I haven't been coding as long as you might have as I am only studying at the moment, but I have never even thought about cussing in Coding.
Thanks for the reply John
Henco Eloff
|
|
|
|
|
But you can write some joke. And that one, who will read your code, can laough.
|
|
|
|
|
As part of my studies, I am currently doing an Internship, and we were discussing the same thing. If you examine some websites' HTML Coding, you find various jokes being made. But i personally feel that if your code will be read by someone in a higher position than you, you should stay as professional as possible.
Henco Eloff
|
|
|
|
|
Yes, it's reverse side of medal. It's really bad, when you wrote some code as outsourcer and your customer in other country read youtr jokes ![Smile | :)](https://codeproject.global.ssl.fastly.net/script/Forums/Images/smiley_smile.gif)
|
|
|
|
|
And more.
To stay as professional as possible you should write good, easy extensible and scalabel code at first. Presence or absence of jokes is not so important.
|
|
|
|
|
Nickos_me wrote: Presence or absence of jokes is not so important.
But can scratch the company's reputation when read by the client (seen that) and is unprofessional, the client is not paying for jokes.
|
|
|
|
|
If you angry because of the code you writing, then go make yourself a brake
No more Mister Nice Guy... >: |
|
|
|
|
|
You do not have to be angry, sometimes you are trying to make a point. I once wrote the following about some of my code: "Warning, the following code isn't just ugly, it's damn ugly."
|
|
|
|
|
damn? It's not swearing IMHO.
No more Mister Nice Guy... >: |
|
|
|
|
|
Because it can happen to me to be sarcastic about some legacy code or an API :P
modified 6-Apr-21 21:01pm.
|
|
|
|
|
Made the status/heartbeat LED pulse a pointed nasty message in morse at high speed. xored content so didn't show in code review. Was nice to know it was there on country wide terminals.
|
|
|
|
|
Having fixed a very complex bit of SQL report code for the 2nd time after a new dev rafactored it to broken I left a particularly pithy offer to dismember any stupid bastard who ever touched the code again. It already had about 100 lines of comment scattered throughout the stored proc.
And yes it got into production and is still there AFAIK.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Not explicitly, Sometimes PG versions like dang or darn in internal test only code.
Save the good stuff for the review where their impact can be directed at the guilty party or parties.
It was broke, so I fixed it.
|
|
|
|
|
|
Dan McKinley wrote:</div>He [Richard] had recently been fired for repeatedly showing up in the early to mid-afternoon drunk and coked out of his mind (I guess nobody told him that we real programmers show up on time and drink at our desks).
Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
|
|
|
|
|
Consolas font so it is much more soft...
|
|
|
|
|
... on how crappy the last guy to touch it was at coding.
Pete
|
|
|
|
|
I used to. Some of them pretty f***ing funny too, and I've found some of that sh*t way after the fact, had a chuckle, and edited it out because it makes me uncomfortable. It's funny too, I never swear except if my h***** is r****** and I get all t*************.
He said, "Boy I'm just old and lonely,
But thank you for your concern,
Here's wishing you a Happy New Year."
I wished him one back in return.
|
|
|
|
|
This is perhaps the KSS version of some COBOL I once had to maintain.
PERFORM PUSH_UP_ROUTINE
UNTIL POOPED.
Only the paragraph had nothing to do with stacks or queues and the 88 Level had something to do with satisfaction.
Chris Meech
I am Canadian. [heard in a local bar]
In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]
posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]
|
|
|
|
|
I'm mean, from a programmer's point of view, isn't VB Programming the same thing?
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|