|
Someone who suggested this survey talked about this sometime back and I liked the idea.
And now that I will resign from my current organization very soon, I will surely try a few of them.
..Go Green..
|
|
|
|
|
All of my code will eventually be seen by the customer.... Now if your code stays internal always you have a bit more flexibility to have fun... but if your bosses and or customers see your code.... then you probably want to be a bit more serious....
_________________________
John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."
Shhhhh.... I am not really here. I am a figment of your imagination.... I am still in my cave so this must be an illusion....
|
|
|
|
|
I don't think one can look at any Linux device driver code without encountering some swearing in the comments (particularly those who have read through the legendary Sun Happy Meal protocol code).
http://www.ohohlfeld.com/linuxfun.html
Sadly a lot of the great Linux comments have been cleaned up now. Gone are the days when gcc used to say "semi-colon missing at end of line (you lazy bastard!)"
|
|
|
|
|
...when your code is going to be (or likely to be) scrutinised by customers and/or (even worse) standards/approvals bodies, everything has to be kept "professional" in tone.
On the other hand, the people who put together the instruction set for the PowerPC must have had a laugh when they came up with the assembler instruction Enable In-order Execution of I/O (short name EIEIO).
In one company for which I worked, a group of disenchanted engineers broke off and formed their own competing company. This was apparently because of a conflict with a person whose initials I will call "ABC" (initials changed to protect somebody I thought of as a friend). EVERY part of the product - PCBs, sheet metal, plastic work, etc - was stamped with the "code" ABC4Q2. (Sound it out to yourself in private - I'm not going to spell it out any more.) This was in a product that had to get through all sorts of approvals bodies all around the world, too. That makes the code comment thing look a bit lame, really.
Professional Geek,
Amateur Stage-Levelling Gauge
|
|
|
|
|
Not a joke in the comments, but in the firmware itself:
I once worked at a place that was going to be shut-down. We had a guy from the other side of the merger whom we had to deal with that was unbearable and thought our team was supplanting his team. In the firmware I placed a PWM routine that quickly pulsed the LED in morse code: that "David M#### is a total Dick". The chars were XOR-d so it would not show up( by perusing the firmware in a text editor) until the status led pulse routine. It was satisfying to know that the status LED was saying what we all knew.
|
|
|
|
|
This survey title remembers my old office mate who was fresher at that time.
[Current Month 2nd week]
Team Leader : Hey man, when will you started that screen?
He : Last week, sir...
VB Code Page
Screen - Sales Transaction
Created by - Mr.XXX
Tables Using - tblSalesHeader, tblSalesDetails, tblProducts
Started on - 25-XXX-XXXX
Team Leader : But your comments says you were started last month.
He :
Mostly he was troubled with his comments in code(Top of the page). After then he leaves blank @ Started On field.
|
|
|
|
|
Nothing too obvious.
But if I can slip one in then it is fun.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
|
|
|
|
|
Tried that - got slapped!
Peter Wasser
|
|
|
|
|
What did you put Pointy Hair Jokes.
|
|
|
|
|
But sometime my typo becomes jokes for others
WWW, WCF, WWF, WPF, WFC .... WTF
|
|
|
|
|
I prefer to hide my jokes in the code.
Its seems to work as I get a lot of feedback, things like:
"Very funny code."
I especially like comments such as:
"This code really made me laugh.".
Peter Wasser
modified on Monday, July 26, 2010 5:50 AM
|
|
|
|
|
There are no bugs in my code. Only jokes...
|
|
|
|
|
You might also get some comments such as:
"This code really made me laugh, p.s.: you're fired"
but at least they'll remember you as that whacky programmer who wrote jokes in his code
|
|
|
|
|
Not everyone gets the jokes.
Peter Wasser
|
|
|
|
|
I love to use puns and double entendres in naming classes/functions/variables. If you get them, you laugh. If you don't, then no harm done. If they make you uncomfortable, then you are a naughty naughty person - for shame tsk tsk!
- S
50 cups of coffee and you know it's on!
Code, follow, or get out of the way.
|
|
|
|
|
I never write Jokes in code comments. I rather prefer it while discussion.
|
|
|
|
|
i can not put funny jokes as comment....in my code.
code is not a place where you can play jokes around...
Rating always..... WELCOME
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
koolprasad2003 wrote: i can not put funny jokes as comment....in my code.
I put it sometime, just to make serious situation light
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
What about the situation when your client informs it to your manager and your manager demands explaination?
|
|
|
|
|
I don't put jokes into comments ever, but that's because I'm usually not thinking along those lines when working on code. If I did do something like that, it would only be for internal use stuff, and never anything that a client or auditor would see.
Scott E. Corbett
Software Engineer/Analyst
|
|
|
|
|
koolprasad2003 wrote: i can not put funny jokes as comment
You seem incapable of putting funny jokes in the lounge too.
|
|
|
|
|
What about jokes that aren't funny? Is he any good at that?
/ravi
|
|
|
|