[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua_number2int
- From: David Given <dg@...>
- Date: Wed, 15 Nov 2006 20:47:48 +0000
Gunnar Zötl wrote:
[...]
> DG> Anything else invoces undefined behaviour, and results in daemons flying out
> DG> of your nose.
>
> boy, I gotta try that one day... ;-)
It's a vitally important phrase when discussing anything related to C.
http://www.catb.org/jargon/html/N/nasal-demons.html
(Lua doesn't summon daemons, but it still has its own share of 'undefined
behaviour' issues as well. I think it would be amazingly handy to be able to
test for these in a debug situation and trap them as errors. For example, that
hoary old array-with-holes-in business --- I'm quite certain there's
production code out there that suffers from that.)
--
╭─┈David Given┈──McQ─╮ "...electrons, nuclei and other particles are good
│┈ dg@cowlark.com┈┈┈┈│ approximations to perfectly elastic spherical
│┈(dg@tao-group.com)┈│ cows." --- David M. Palmer on r.a.sf.c
╰─┈www.cowlark.com┈──╯
Attachment:
signature.asc
Description: OpenPGP digital signature