Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   C Programming (http://www.velocityreviews.com/forums/f42-c-programming.html)
-   -   bad c code expression (http://www.velocityreviews.com/forums/t950975-bad-c-code-expression.html)

kashdan 08-17-2012 10:03 PM

bad c code expression
 
hello world

the teacher in my class told us this english expression, "bad c code is
like a daemon's nose". however, we dont understand why this is used.

does anyone knows the origins of this expression? it references to some
rpg or something?

kind regards

Vincenzo Mercuri 08-17-2012 10:16 PM

Re: bad c code expression
 
Il 8/18/2012 12:03 AM, kashdan ha scritto:
>
> the teacher in my class told us this english expression, "bad c code is
> like a daemon's nose". however, we dont understand why this is used.
>
> does anyone knows the origins of this expression? it references to some
> rpg or something?
>


http://www.catb.org/jargon/html/N/nasal-demons.html

--
Vincenzo Mercuri

Eric Sosman 08-17-2012 10:23 PM

Re: bad c code expression
 
On 8/17/2012 6:03 PM, kashdan wrote:
> hello world
>
> the teacher in my class told us this english expression, "bad c code is
> like a daemon's nose". however, we dont understand why this is used.
>
> does anyone knows the origins of this expression? it references to some
> rpg or something?


"Like a d[a]emon's nose" is not familiar to me. However,
"demons will fly out of your nose" was often used as a comical
description of the possible consequences of undefined behavior.
Perhaps your teacher was indicating that bad C code is likely
to find itself engaging in undefined behavior.

The original ANSI Standard introduced the phrase "undefined
behavior" to the C community at large, and when that Standard
was new there was quite a flurry of bizarre descriptions of U.B.
Every day or two a new and odder one would appear on Usenet; the
one I myself liked best was "chocolate pudding will ooze from
your keyboard." After a while, though, the game of inventing
ever odder U.B. descriptions grew stale, and "demons will fly
out of your nose" became standard usage. It was often shortened
to just "nasal demons," or even re-rendered in an oblique form
like "if `x' is negative at this point, you may hear creaking
from your nasal cavities as the demons stretch their wings."

<http://catb.org/jargon/html/N/nasal-demons.html>
<http://dialspace.dial.pipex.com/town/green/gfd34/art/> (bottom)

--
Eric Sosman
esosman@ieee-dot-org.invalid

Eric Sosman 08-17-2012 10:28 PM

Re: bad c code expression
 
On 8/17/2012 6:23 PM, Eric Sosman wrote:
>[...]
> <http://dialspace.dial.pipex.com/town/green/gfd34/art/> (bottom)


Oops! When you get there, navigate to "Bloopers" and *then*
scroll to the bottom. Sorry!


--
Eric Sosman
esosman@ieee-dot-org.invalid

James Dow Allen 08-18-2012 06:59 AM

Re: bad c code expression
 
On Aug 18, 5:23*am, Eric Sosman <esos...@ieee-dot-org.invalid> wrote:
>... or even re-rendered in an oblique form
> like "if `x' is negative at this point, you may hear creaking
> from your nasal cavities as the demons stretch their wings."


I've written some bad C code off and on over the
decades and have developed chronic rhinitis and sinusitis.
I finally understand why.

James


All times are GMT. The time now is 02:40 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.