From WikiChip
Difference between revisions of "nasal demons"

 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
The term originally originated from a post by ''John F. Woods'' on 2/25/92 in a discussion on the Usenet group comp.std.c<ref>[https://groups.google.com/forum/?hl=en#!msg/comp.std.c/ycpVKxTZkgw/S2hHdTbv4d8J The original post by John Woods] 2/25/92</ref>. Mr Woods was attempting to emphasis the fact that [[undefined behavior]] may legally (as far as the standard is concerned) result in the compiler doing just about anything - including but not limited to "having demons fly out of your nose". The aim of the post was to make the point that one cannot put the compiler at fault for input which has no defined behavior as far as the {{C|C89|c standard}} is concerned.
 
The term originally originated from a post by ''John F. Woods'' on 2/25/92 in a discussion on the Usenet group comp.std.c<ref>[https://groups.google.com/forum/?hl=en#!msg/comp.std.c/ycpVKxTZkgw/S2hHdTbv4d8J The original post by John Woods] 2/25/92</ref>. Mr Woods was attempting to emphasis the fact that [[undefined behavior]] may legally (as far as the standard is concerned) result in the compiler doing just about anything - including but not limited to "having demons fly out of your nose". The aim of the post was to make the point that one cannot put the compiler at fault for input which has no defined behavior as far as the {{C|C89|c standard}} is concerned.
 +
 +
After the initial post, follow-up posts continued to use the reference "nasal demons". The term quickly established itself as a shorthand for undefined behavior in the C community.
 +
 +
== See also ==
 +
* [[undefined behavior]]
 +
* [[unspecified behavior]]
 +
* [[implementation-defined behavior]]
  
 
== References ==
 
== References ==
 
{{reflist}}
 
{{reflist}}
 +
 +
[[Category:C programming language]]

Latest revision as of 22:50, 4 November 2017

Nasal demons is a well-recognized humorous synonym for undefined behavior, specifically as it pertains to the C programming language.

The term originally originated from a post by John F. Woods on 2/25/92 in a discussion on the Usenet group comp.std.c[1]. Mr Woods was attempting to emphasis the fact that undefined behavior may legally (as far as the standard is concerned) result in the compiler doing just about anything - including but not limited to "having demons fly out of your nose". The aim of the post was to make the point that one cannot put the compiler at fault for input which has no defined behavior as far as the c standard is concerned.

After the initial post, follow-up posts continued to use the reference "nasal demons". The term quickly established itself as a shorthand for undefined behavior in the C community.

See also[edit]

References[edit]