Everything About ___
Live briefing

Everything about Unreachable code

Section of code in a program that can never be executed

In computer programming, unreachable code is part of the source code of a program which can never be executed because there exists no control flow path to the code from the rest of the program. Wikipedia →

đź§­ Start here: a 6-step reading path

  1. Read the overview: Unreachable codeA 5-minute orientation
  2. Pick up a classic book: Mathematical structures for computer scienceThe most-reprinted book on the subject
  3. Read the landmark paper: Using unreachable code analysis in static analysis tool for finding defects in source codeCited 5 times
  4. Go sideways: Dead codeA closely related topic
  5. Go sideways: Lint (software)A closely related topic

đź“– Definitions

Noun Code that can never be reached during program execution because no part of the program calls it or branches to it.

🗂️ The subject at a glance

  1. Causes
  2. Examples
  3. Analysis

🏆 Landmark papers (most cited)

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

đź”— Related topics