PDA

View Full Version : Programming humour



face_master
10-23-2002, 02:42 AM
I found this really funny (http://rinkworks.com/stupid/cs_programming.shtml). Add your own links too ;)

Nutshell
10-23-2002, 03:18 AM
lol...but i still don't think all of the cases are real.

biosninja
10-23-2002, 03:25 AM
I had a case where someone asked mo how to erase a carater in a document. I told him to go to the character and press the delete key. He replied : "Where's the delete key?"
How dumb can you get?

salvelinus
10-23-2002, 05:53 AM
The compressed code story actually has some validity in embedded vb. I'm not sure if it makes it run faster, but compressing the code in eVB can dramatically reduce the executable size (according to a devbuzz article). The writer wrote code as usual but ran a compression utility that deleted spaces, etc before compiling.

Zewu
10-23-2002, 02:20 PM
I despise Computer-related jokes

-KEN-
10-23-2002, 03:26 PM
That's hilarious - thanks for the link! :)

TechWins
10-23-2002, 04:02 PM
This one right here is a regular mistake by my friend in programming class...



begin
readln("Number of Apples", apples);
readln("Number of Carrots", carrots);
readln("Price for 1 Apple", a_price);
readln("Price for 1 Carrot", c_price);
writeln("Total for Apples", a_total);
writeln("Total for Carrots", c_total);
writeln("Total", total);
total := a_total + c_total;
a_total := apples * a_price;
c_total := carrots + c_price;
end;

MethodMan
10-23-2002, 04:16 PM
Those are pretty funny. I found this one amusing

if (value == 0)
return value;
else
return 0;

I wish I knew how he wrote that 'last' shell script, just to shut down all the computers for a day.

Shadow
10-24-2002, 10:40 AM
> I despice Computer-related jokes
The correct spelling is despise, and I find them pretty funny.


#include <AllTheGoodies.h>

int main ( void )
{
WakeUp();
Goto Work;

Work:
LookBusy();
ComeHome();
EnjoyHobbies();
Goto Bed;

Bed:
Sleep(8 hours);
return 0;
}

int WakeUp ( void )
{
int Counter;
AlarmClockActivate();
if ( AlarmClockRing > 5 minutes )
{
GetBigHammer();
}
if ( SmellOfBody == "STINKY" )
{
for ( Counter = 0; Counter < 3; Counter ++ )
{
Shower();
}
AdmireSelfInMirror();
}
return 0;
}

int LookBusy ( void )
{
if ( WorkToDo == TRUE )
{
Goto CoffeeMachine;
CoffeeMachine:
if ( BossNotLooking() == TRUE )
{
SpikeBeverage();
}
}
return 0;
}

int ComeHome ( void )
{
TravelOnBackRoads();
if ( NoCops == TRUE )
{
SpeedLikeCrazy();
if ( Speedometer < 100mph )
{
TravelAt110mph();
}
}
return 0;
}

int EnjoyHobbies ( void )
{
TelevisionActivate();
if ( SpiceChannel || PornChannel == TRUE )
{
WatchClosely();
}
return 0;
}

Betazep
10-24-2002, 11:30 AM
One day I was in a public park, reading "C++ For Dummies" when someone came up and asked me what I was reading. I told him I was reading a book about C++. He responded, "Oh, HTML kicks C++'s @$$."

I find it funnier that the guy was reading C++ for Dummies and making fun of the other idiot.

Zewu
10-24-2002, 01:52 PM
Originally posted by Betazep
I find it funnier that the guy was reading C++ for Dummies and making fun of the other idiot.
That's the only thing related to this thread that made me laugh!

I also think that the best at programming, in a group of "programmers" - for example this board - has the right to joke with code.

RoD
10-24-2002, 02:50 PM
www.techtales.com

thats pretty funny sometimes.

valar_king
10-24-2002, 03:27 PM
I kinda love/hate those. I find some of them INCREDIBLY hilarious, but sometimes I want to smack some of those people around, particularly the ones who spew out BS and then argue with you and act like they're computer experts.

Also, there's nothing wrong with C++ for Dummies, or any of the other Dummies books, they provide excellent introductions to subjects.

-KEN-
10-24-2002, 04:05 PM
This made me laugh SO hard:


I had this conversation recently with a lady who swore she had been using computers since forever.


Tech Support: "All right. Now click 'OK'."
Customer: "Click 'OK'?"
Tech Support: "Yes, click 'OK'."
Customer: "Click 'OK'?"
Tech Support: "That's right. Click 'OK'."
Customer: "So I click 'OK', right?"
Tech Support: "Right. Click 'OK'."
Pause.

Customer: "I clicked 'Cancel'."
Tech Support: "YOU CLICKED 'CANCEL'???"
Customer: "That's what I was supposed to do, right?"
Tech Support: "No, you were supposed to click 'OK'."
Customer: "I thought you said to click 'Cancel'."
Tech Support: "NO. I said to click 'OK'."
Customer: "Oh."
Tech Support: "Now we have to start over."
Customer: "Why?"
Tech Support: "Because you clicked 'Cancel'."
Customer: "Wasn't I supposed to click 'Cancel'?"
Tech Support: "No. Forget that. Let's start from the top."
Customer: "Ok."
I spent the next fifteen minutes re-constructing the carefully crafted setup for this lady's unique computer.


Tech Support: "All right. Now, are you ready to click 'OK'?"
Customer: "Yes."
Tech Support: "Great. Now click 'OK'."
Pause.


Customer: "I clicked 'Cancel'."

Govtcheez
10-24-2002, 04:14 PM
> This one right here is a regular mistake by my friend in programming class...

What, writing in Pascal?

Shadow
10-24-2002, 04:27 PM
women()
{
goto bathroom;
bathroom:
while (1) ;
}
hahaha, that was funny.
Nice link Salem. :)

double or_nothing was good too..heh..

Betazep
10-24-2002, 04:51 PM
Originally posted by valar_king
Also, there's nothing wrong with C++ for Dummies, or any of the other Dummies books, they provide excellent introductions to subjects.

I guess so. But I think there are better resources. Your opinion... my opinion. Who's to say what's better. ;) Just different is all. :rolleyes:

Betazep
10-24-2002, 04:57 PM
and BTW... have you guys seen the Saturday Night Live skit with the computer guy?

Sometimes I worry that I am like that a little bit.

"No. You are doing it wrong... MOOOVE!"

-KEN-
10-24-2002, 05:13 PM
I'm exactly like the SNL skit. My mom always feels the need to point it out when I tell her that the mouse CAN'T be used to feed our cat....

BMJ
10-24-2002, 05:18 PM
BMJ's CS teacher: What th....
BMJ: *shove* Oh! I know what's wrong! Here, let me... ok, now.... alright.... and....... OK, you're all good to go!

:D

Betazep
10-24-2002, 05:24 PM
Speaking of your mom ken....

*wink* *wink*

:cool: :D

-KEN-
10-24-2002, 05:32 PM
Dear Mrs. Zep,
&nbsp;&nbsp;&nbsp;It has recently come to my attention that....

hah!

Betazep
10-24-2002, 05:34 PM
Dammit! You wouldn't dare!





Dear Hillbillie,

It has come to my attention that Ken wants to....

-KEN-
10-24-2002, 05:36 PM
Tough cookies - I sent that email to him long ago. The flight to arkansas wasn't THAT long...

::Ken searches bathroom walls for Zep's wife's email addy::

:D

BMJ
10-24-2002, 05:36 PM
Who says this forum isn't a chat room?

Betazep
10-24-2002, 05:38 PM
Originally posted by BMJ
Who says this forum isn't a chat room?

Tell us... so we can kill them and eat thier livers!

BMJ
10-24-2002, 05:39 PM
*looks at watch*

Awwww... I have to go to class now.... no more f'ing around on the school's registration computer... hehe, seriously... later :)

RoD
10-24-2002, 06:40 PM
LOL we have some seriously disturbed minds at work here lol

black
10-24-2002, 07:35 PM
interesting, especially this one:


When a computer professor asked his students to comment all their programs, he got remarks like:

"This program is very nice."
"This program is very difficult."
"This program is very interesting."

BMJ
10-24-2002, 09:37 PM
Originally posted by -KEN-
This made me laugh SO hard: I nearly died when I read that one too! :) :D
I clicked cancel.

TechWins
10-25-2002, 01:34 AM
Govtcheez,


What, writing in Pascal?

Yes, writing in Pascal. Our school only offers Pascal for programming courses, and the class is still better than most other classes. But I gotta tell ya, it's pretty damn annoying having to create an algorithm to display the slope of two points. Oh wow...so hard!!! Plus the teacher isn't all that bright either so the class becomes incredibly irritating at points. But luckily I have my stupid friend to cheer me up with his stupidity. Today I was cracking up in class looking over the answers he got wrong on a test. Well, as I was saying...yes, in Pascal. I get carried away sometimes...

Commander
10-25-2002, 02:52 PM
u think pascal is boring!!!!!!!!! learn turing!!! then you'll know that boring is!! and like you, i rely on human sources and their stupidity to keep me company through the class. There are many jokers in the class, who tend to amuse me (and many others) with their incredibly low geograpical knowledge by making very inaccurate and\or stupid comments on other's origin, the others do the same an dit creats a long chain of interesting comments until someone ends up in the office, then, soddenly it all stops!!

TechWins
10-25-2002, 04:14 PM
Well, I have two of my best friends that sit right next to me in the class, so the class is actually fun in that sense. And I'm the "loud" one and the "jokester" in the class...kinda like all of my classes

But today we had this incredibly hard test!:rolleyes: We had to write a program that calculated the total charges on a phone bill that had a flat rate $.21 per minute. Oh my it was hard. Plus the teacher had the nerve to make us write the WHOLE program without any help at all. Tough stuff I tell ya...

salvelinus
10-26-2002, 08:38 AM
#include <iostream>
using std::cout;
using std::cin;

int main()
{
int total;
cout << "Enter total minutes";
cin >> total;
cout << "Bill is: " << float(total * .21);
return 0;
}

Add functions to read a/o sum minutes if necessary.

-KEN-
10-26-2002, 09:07 AM
Originally posted by salvelinus


#include <iostream>
using std::cout;
using std::cin;

int main()
{
int total;
cout << "Enter total minutes";
cin >> total;
cout << "Bill is: " << float(total * .21);
return 0;
}

Add functions to read a/o sum minutes if necessary.

::whipsering:: See that thing flying straight over your head? It's called a joke...

moi
10-26-2002, 09:09 AM
void main ()
{
char *input;
int minutes;
int money;
begin:
printf ("Enter total minutes\n");
fflush (stdin);
gets (input);
minutes = atoi (input);
money = minutes * .21;
printf ("Total cost is %f\n", money);
goto begin;
}

salvelinus
10-26-2002, 09:55 AM
Originally posted by -KEN-
::whipsering:: See that thing flying straight over your head? It's called a joke...
Well, it wasn't very funny...Where's the smiley?:confused:

-KEN-
10-26-2002, 12:21 PM
>>we had this incredibly hard test!:rolleyes:

I should think that'd be clue enough for most people :)