OnlineWoerterBuecher.de
Internes

Lexikon


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)

In addition suitable contents:
[ = ] [ ad ] [ ag ] [ al ] [ algorithm ] [ am ] [ an ] [ app ] [ ar ] [ arc ] [ arg ] [ as ] [ ash ] [ at ] [ au ] [ b ] [ be ] [ bi ] [ bit ] [ by ] [ ca ] [ case ] [ cat ] [ ch ] [ ck ] [ co ] [ code ] [ com ] [ comment ] [ con ] [ cr ] [ crash ] [ cu ] [ data ] [ de ] [ development ] [ do ] [ du ] [ ec ] [ ed ] [ ee ] [ eg ] [ er ] [ error ] [ es ] [ event ] [ exec ] [ execute ] [ fatal ] [ fatal error ] [ fault ] [ fi ] [ file ] [ firewall ] [ firewall code ] [ fo ] [ for ] [ fr ] [ ga ] [ ge ] [ gen ] [ gh ] [ gr ] [ h ] [ handle ] [ hat ] [ hing ] [ hm ] [ hr ] [ id ] [ il ] [ in ] [ inc ] [ io ] [ ir ] [ is ] [ it ] [ J ] [ Jargon File ] [ ki ] [ ld ] [ Lex ] [ li ] [ ls ] [ lt ] [ ly ] [ ma ] [ man ] [ message ] [ mm ] [ mo ] [ mod ] [ module ] [ mp ] [ na ] [ nc ] [ ne ] [ nf ] [ ng ] [ no ] [ ns ] [ nu ] [ O ] [ om ] [ op ] [ pe ] [ ph ] [ pl ] [ pm ] [ pr ] [ product ] [ professional programming ] [ program ] [ programmer ] [ programming ] [ pt ] [ query ] [ rc ] [ re ] [ ro ] [ ru ] [ S ] [ sa ] [ se ] [ sh ] [ si ] [ so ] [ st ] [ su ] [ T ] [ text ] [ th ] [ to ] [ tr ] [ trigger ] [ tt ] [ ua ] [ ug ] [ up ] [ va ] [ var ] [ ve ] [ wall ]






Go Back ]

Free On-line Dictionary of Computing

Copyright © by OnlineWoerterBuecher.de - (6882 Reads)

All logos and trademarks in this site are property of their respective owner.

Page Generation in 0.0862 Seconds, with 17 Database-Queries
Zurück zur Startseite