DEAD CODE
\dˈɛd kˈə͡ʊd], \dˈɛd kˈəʊd], \d_ˈɛ_d k_ˈəʊ_d]\
Sort: Oldest first
-
(Or "infeasible path", "grunge") Any part of aprogram that can never be accessed because all calls to ithave been removed, or because it is guarded by a controlstructure that provably must always transfer control somewhereelse. The presence of dead code may reveal either logicalerrors due to alterations in the program or significantchanges in the assumptions and environment of the program (seealso software rot); a good compiler should report dead codeso a maintainer can think about what it means. Sometimes itsimply means that an *extremely* defensive programmer hasinserted can't happen tests which really can't happen - yet.Synonym grunge.
By Denis Howe