Dictionary    Maps    Thesaurus    Translate    Advanced >   


Tip: Click Thesaurus above for synonyms. Also, follow synonym links within the dictionary to find definitions from other sources.

1. The Jargon File (version 4.4.7, 29 Dec 2003)
can't happen


    The traditional program comment for code executed under a condition that
    should never be true, for example a file size computed as negative. Often,
    such a condition being true indicates data corruption or a faulty
    algorithm; it is almost always handled by emitting a fatal error message
    and terminating or crashing, since there is little else that can be done.
    Some case variant of ?can't happen? is also often the text emitted if the
    ?impossible? error actually happens! Although ?can't happen? events are
    genuinely infrequent in production code, programmers wise enough to check
    for them habitually are often surprised at how frequently they are
    triggered during development and how many headaches checking for them turns
    out to head off. See also firewall code (sense 2).


2. The Free On-line Dictionary of Computing (30 December 2018)
can't happen
This can't happen

    The traditional program comment for code
   executed under a condition that should never be true, for
   example a file size computed as negative.  Often, such a
   condition being true indicates data corruption or a faulty
   algorithm; it is almost always handled by emitting a fatal
   error message and terminating or crashing, since there is
   little else that can be done.

   Some case variant of "can't happen" is also often the text
   emitted if the "impossible" error actually happens.  Although
   "can't happen" events are genuinely infrequent in production
   code, programmers wise enough to check for them habitually are
   often surprised at how frequently they are triggered during
   development and how many headaches checking for them turns out
   to head off.

   See also firewall code, professional programming.

   [Jargon File]

   (1996-05-10)


Common Misspellings >
Most Popular Searches: Define Misanthrope, Define Pulchritudinous, Define Happy, Define Veracity, Define Cornucopia, Define Almuerzo, Define Atresic, Define URL, Definitions Of Words, Definition Of Get Up, Definition Of Quid Pro Quo, Definition Of Irreconcilable Differences, Definition Of Word, Synonyms of Repetitive, Synonym Dictionary, Synonym Antonyms. See our main index and map index for more details.

©2011-2024 ZebraWords.com - Define Yourself - The Search for Meanings and Meaning Means I Mean. All content subject to terms and conditions as set out here. Contact Us, peruse our Privacy Policy