Code Jokes / Recent Jokes
A Code Of Ethical Behavior For Patients1. Do not expect your doctor to share your discomfort. Involvement with the patient's suffering might cause him to lose valuable scientific objectivity.2. Be cheerful at all times. Your doctor leads a busy and trying life and requires all the gentleness and reassurance he can get.3.Try to suffer from the disease for which you are being treated. Remember that your doctor has a professional reputation to uphold.4.Do not complain if the treatment fails to bring relief. You must believe that your doctor has achieved a deep insight into the true nature of your illness, which transcends any mere permanent disability you may have experienced.5. Never ask your doctor to explain what he is doing or why he is doing it. It is presumptuous to assume that such profound matters could be explained in terms that you would understand.6. Submit to novel experimental treatment readily. Though the surgery may not benefit you directly, the resulting research paper more...
An old priest was getting sick and tired of all the people in his parish who kept confessing adultery. One Sunday in the pulpit he said, "If I hear one more person confess to adultery, I'll quit!" Everyone liked him, so the parishioners came up with a code word. Someone who had committed adultery would say they had "fallen".
This seemed to satisfy the old priest and things went well, until the priest died at a ripe old age. About a week after the new priest arrived, he visited the Mayor of the town and seemed very concerned. The priest said, "You have to do something about the sidewalks in town. When people come into the confessional, they keep talking about having fallen."
The Mayor started to laugh, realizing that no one had told the new priest about the code word. The priest shook an accusing finger at the mayor and said, "I don't know what you're laughing about. Your wife fell three times this week."
Real Programmers don't eat quiche. They like Twinkies, Coke and palate scorching Szechwan food.
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand and harder to modify.
Real Programmers don't document. Documentation is for simpletons who can't read listings or the object code from the dump.
Real Programmers scorn Floating Point Arithmetic. The decimal point was invented for pansy bedwetters who are unable to "think big."
Real Programmers' programs never work right the first time. But if you throw them on the machine they can be patched into working order in "only a few" 30-hour debugging sessions.
Real Programmers don't read manuals. Reliance on a reference is the hallmark of the novice and the coward.
Real Programmers don't write application programs. They program right down on the bare metal. Application programming is for the dullards who can't do systems programming.
Real Programmers more...
- Real Programmers don't write specs. Users should consider themselves lucky to get any programs at all and take what they get.
- Real Programmers don't comment their code. If it is hard to write, it should be hard to read.
- Real Programmers don't write application programmers, they program right down on the bare metal. Application programming is for feebs who can't do systems programming.
- Real Programmers don't eat quiche. Real Programmers don't even know how to spell quiche. They eat Twinkies, Coke and palate-scorching Szechwan food.
- Real Programmers don't draw flowcharts. Flowcharts are, after all, the illiterate's form of documentation. Cavemen drew flowcharts; look how much it did for them.
- Real Programmers don't read manuals. Reliance on a reference is a hallmark of the novice and the coward.
- Real Programmers don't use FORTRAN. FORTRAN is for wimpy engineers who wear white socks, pipe stress freaks, and crystallography weenies. They get more...
Just wanted to check out that you gnarly dudes are using the latest andgreatest software technology fer yer rad code to make it easy for thedudes who have to read it. The hip new way to write readable Ccode involves the use of a few simple defines.#define like {#define man ;}#define an ;#define SayBro /*#define CheckItOut */SayBro like, this is some rad program, so CheckItOutlike a = b an c = dmanSayBro, like who needs help from them compiler choads anyway? THIS is the way to write CLEAR code. I mean really! CheckItOutlike SayBro this is ShellSort straight out of the white book, but ina readable form.CheckItOut man#define YoDude for(#define OK )#define is =#define AND &define as#define Do#define long#define some#define make#define garbage#define FAROUTshell(v, n) SayBro sort v[0]...v[n-1] into increasing order CheckItOutint v[], n;like int gap, i, j, temp;YoDude gap is n/2 an as long as gap > 0 Do some garbage an make gap /=2 OK YoDude i is gap an as long as i < n Do some garbage an more...
Programmer at this retail chain gets an assignment to add some functionality to four reporting applications. One change request is to add passwords to one of the four applications -- but just one."Just doing one sounded suspicious to me," says the programmer. "So I decided to code the password logic in a separate module for easy reuse. I only had to add one line of code to the existing executable."Fast-forward six months: The new versions are installed in a handful of stores for beta testing before they'll roll out to 1,000 stores nationwide. Programmer's boss drops by his cubicle to tell him that the users like the password function, but they wanted it on all four applications. How long would it take to add it to the other three?He calculates: add one line of code, compile, do some testing. That's maybe a few hours' work if everything goes as planned -- which it seldom does."Two days," he tells his boss.She's skeptical. "Are you sure?" she more...
1. Thou shalt run lint frequently and study its pronouncements with care, for verily its perception and judgement oft exceed thine. 2. Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end. 3. Thou shalt cast all function arguments to the expected type if they are not of that type already, even when thou art convinced that this is unnecessary, lest they take cruel vengeance upon thee when thou least expect it. 4. If thy header files fail to declare the return types of thy library functions, thou shalt declare them thyself with the most meticulous care, lest grievous harm befall thy program. 5. Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. 6. If a function be advertised to return an error code in the event of difficulties, thou shalt check for that code, yea, even though the checks triple the size of thy code and produce aches in more...