Live briefing
Everything about Switch statement
Programming statement for branching control based on a value
In computer programming, a switch statement is a selection control flow mechanism that changes execution control based on the value of an expression. A switch statement is similar to an if statement but instead of branching only on true or false, it branches on any number of values. Although the syntax varies by programming language, most imperative languages provide a statement with the semantics described here as the switch statement. Often denoted with the keyword switch, some languages use variations such as case, select, or inspect. Wikipedia →
đź§ Start here: a 6-step reading path
- Read the overview: Switch statementA 5-minute orientation
- Skim a recent paper: Single Anastomosis Duodeno-Ileostomy with Sleeve Gastrectomy/Single Anastomosis Duodenal Switch (SADI-S/SADS) IFSO Position Statement—Update 2023Influential work since 2022
- Pick up a classic book: Financial auditThe most-reprinted book on the subject
- Read the landmark paper: American Society for Metabolic and Bariatric Surgery updated statement on single-anastomosis duodenal switchCited 96 times
- Go sideways: Conditional (computer programming)A closely related topic
- Go sideways: Statement (computer science)A closely related topic
đź“– Definitions
No dictionary entry for this exact phrase.
🗂️ The subject at a glance
🏆 Landmark papers (most cited)
American Society for Metabolic and Bariatric Surgery updated statement on single-anastomosis duodenal switch
Single Anastomosis Duodenal-Ileal Bypass with Sleeve Gastrectomy/One Anastomosis Duodenal Switch (SADI-S/OADS) IFSO Position Statement
American Society for Metabolic and Bariatric Surgery statement on single-anastomosis duodenal switch
Personal Statement to Personal Physician: Bait and Switch?
🆕 Influential since 2022
📚 Books worth reading
- 📕Financial auditUnited States. General Accounting Office · 1943
The C Programming LanguageBrian W. Kernighan, Dennis MacAlistair Ritchie · 1978
Java software solutionsLewis, John, John E. Lewis Ph. D. · 1997
C How to ProgramPaul J. Deitel, Harvey M. Deitel · 2007
JavaScriptDavid Flanagan · 1996
Clean CodeRobert C. Martin · 2008
The personal MBAJosh Kaufman · 2010
Learning PHP, MySQL & JavaScriptRobin Nixon · 2009
Ranked by number of editions on Open Library, a rough measure of how lasting a book is.
đź”— Related topics
- Conditional (computer programming) In computer programming, a conditional statement directs program control flow based on the value of a condition; a Boolean expression. A conditional expression…
- Statement (computer science) In computer programming, a statement is a syntactic unit of an imperative programming language that expresses some action to be carried out. [vague] A…
- Control flow In software, control flow (or flow of control) describes how execution progresses from one command to the next. In many contexts, such as machine code…
- List of Java keywords In the Java programming language, a keyword is any one of 68 reserved words that have a predefined meaning in the language. Because of this, programmers…
- Ellipsis (computer programming) In computer programming, ellipsis notation (.. or ...) is used to denote ranges, an unspecified number of arguments, or a parent directory. Most programming…
- Label (computer science) In programming languages, a label is a sequence of characters that identifies a location within source code. In most languages, labels take the form of…
- C syntax C syntax is the form that text must have in order to be C programming language code. The language syntax rules are designed to allow for code that is terse…
- Pretty-printing Pretty-printing (or prettyprinting) is the application of any of various stylistic formatting conventions to text files, such as source code, markup, and…