M
Malcolm McLean
A blonde arrives for her first day as a C programmer. She's given a
simple job, changing a few error messages in a 10,000 line program.
After about a hour she hands the code back in. The manager compiles
it, and it comes back with several thousand syntax errors - completely
unusable and irrepairable. "What've you done?" he asks, "Oh," she
says, "I spotted a few typos. So I ran it through the spell-checker."
Two blondes are pair programming. For a while all goes well, but after
a time a bitter dispute arises between them, so serious that it has to
go to senior management.
"What's wrong?" asks the manager.
"I can't work with her anymore", says one, "she's too catty".
"Can you explain further?" askes the manager.
"Yes, she's always playing with the mouse."
What's a blonde's favourite C function?
tan.
The firm gets a new big mainframe in. The blonde is given the task of
porting code to it.
She writes
ptr = (char *) malloc(10);
"Why are you casting your malloc?" asks the manager.
"That's so it compiles under a C++ compiler".
"OK" says the manager.
Then he sees her taking out '//' comments.
"Why are you doing that?" he asks.
"That's so it compiles under a strict C89 compiler"
Then she takes a routine called bubblesort" and renames it "bsort".
"Why are you doing that?" he asks.
"Identifiers need to be six characters or less so it compiles under a
Fortran linker" she says.
"Look" says the manager, "isn't this getting a bit silly? Why does it
need to compile under all these different systems?"
"Mr Mannering", she says, "the new computer is in the basement."
simple job, changing a few error messages in a 10,000 line program.
After about a hour she hands the code back in. The manager compiles
it, and it comes back with several thousand syntax errors - completely
unusable and irrepairable. "What've you done?" he asks, "Oh," she
says, "I spotted a few typos. So I ran it through the spell-checker."
Two blondes are pair programming. For a while all goes well, but after
a time a bitter dispute arises between them, so serious that it has to
go to senior management.
"What's wrong?" asks the manager.
"I can't work with her anymore", says one, "she's too catty".
"Can you explain further?" askes the manager.
"Yes, she's always playing with the mouse."
What's a blonde's favourite C function?
tan.
The firm gets a new big mainframe in. The blonde is given the task of
porting code to it.
She writes
ptr = (char *) malloc(10);
"Why are you casting your malloc?" asks the manager.
"That's so it compiles under a C++ compiler".
"OK" says the manager.
Then he sees her taking out '//' comments.
"Why are you doing that?" he asks.
"That's so it compiles under a strict C89 compiler"
Then she takes a routine called bubblesort" and renames it "bsort".
"Why are you doing that?" he asks.
"Identifiers need to be six characters or less so it compiles under a
Fortran linker" she says.
"Look" says the manager, "isn't this getting a bit silly? Why does it
need to compile under all these different systems?"
"Mr Mannering", she says, "the new computer is in the basement."