Re: Programming Joke

Re: Programming Joke

Re: Programming Joke

crystal,

It is not a very good joke.

"buy butter and if they have eggs then buy a dozen."

Coders are seen as pedantic persons with absolutely no common sense. This coder was told definitely to buy butter. He was then told that if they have eggs, buy a dozen. The stupid coder thought "the condition IF THEY HAVE EGGS has been met, so I must follow the next instruction, which is buy a dozen. Only an idiot would think that buy a dozen referred to butter. This is because eggs come in dozens, and are a normal purchase, and nobody would buy 12 packs of butter....

Re: Programming Joke

I knew a fellow, early twenties, who aspired to be a professional programmer.

He showed me some code for a program he was writing (BASIC).

At one point he had code like

if x < 10 thenif x < 8 then (code)else if x < 5 then (code)

Unfortunately, much of this sort of thing goes on in professional programming.

Yeah! tell me about it. I work with artists who think because they have learned how write a small scriptthey are somehow equivalent to god. Not only do they do things like this, they also NEVER comment theircode. Then to add further complication they needlessly split functions out into separate files. Also they don't document or provide test data for the program. As a result when you come to make some changesyou have to go through the whole thing line by line. They don't seem to understand the concept of makingit work on paper before going anywhere near a keyboard.

These people are a menace and have no business being in charge of a programming language.