Syntax Glossary
Browse 25 syntax terms defined in plain English, from the cultural dictionary of computing.
25 Syntax Terms
- Async/Await
- Async/Await is a programming syntax pattern that allows developers to write asynchronous code in a sequential, synchronous-looking style, making it...
- Block
- In Ruby, an anonymous chunk of code enclosed in do...end or curly braces that can be passed to a method and executed via yield — acting as a lightweight...
- Code Block
- A grouped section of code treated as a single structured unit, usually delimited by braces, indentation, or other language syntax. Code blocks define scopes,...
- Comment Block
- A multi-line comment structure used to document code, disable sections temporarily, or provide descriptive text that spans more than a single line. Comment...
- Construct
- A programming element or conceptual building block such as a loop, class, closure, pattern, or language feature. The term is intentionally broad and usually...
- Custom Operator
- An operator introduced or overloaded by a language, framework, or library to provide domain-specific shorthand behavior. Custom operators can improve...
- Here Document
- A type of string literal in shell scripting and several programming languages that preserves line breaks and allows embedding of multi-line text inline,...
- JSX
- A syntax extension for JavaScript that lets you write HTML-like markup directly inside JS code, primarily used with React to describe UI components.
- List Comprehension
- A concise syntactic construct for creating lists by applying an expression to each item in an iterable, optionally filtering with a condition — common in...
- Modifier
- A keyword that changes the behavior or accessibility of a class, method, or variable — such as public, private, static, final, or abstract.
- Operator
- A symbol or keyword in a programming language that performs an operation on one or more operands — arithmetic (`+`, `*`), comparison (`==`, `<`), logical...
- Operator Overloading
- A language feature that allows developers to redefine the behavior of built-in operators (like +, ==, []) for custom types, enabling natural syntax for...
- Parse Tree
- A tree data structure that represents the syntactic structure of source code (or any input) according to a formal grammar, where internal nodes correspond to...
- Pattern Guard
- Pattern Guard is a control flow construct found in functional programming languages that adds boolean conditions to pattern matching clauses. While a basic...
- Pipe Operator
- A language operator (|> in Elixir, F#, and others) that passes the result of the left expression as the first argument to the function on the right. Enables...
- Quote
- In Lisp-family languages and Elixir, quoting prevents evaluation of an expression, returning its abstract syntax tree (AST) representation instead. In shells,...
- S-Expression
- A notation for nested list-structured data originating from Lisp, where expressions are written as parenthesized prefix lists such as (+ 1 2), serving as both...
- Shebang
- The #! character sequence at the beginning of a script file that tells the operating system which interpreter to use to execute it (e.g., #!/bin/bash,...
- Shorthands
- Condensed syntax forms that let a developer express a common operation in fewer characters or lines than the full equivalent, such as CSS shorthand properties...
- String Interpolation
- A language feature that embeds expressions directly inside string literals, evaluating them at runtime and inserting the results into the final string....
- Switch Statement
- A control flow construct that evaluates an expression and branches execution to one of several labeled case blocks matching the result, often more readable...
- Ternary Operator
- A concise conditional expression with the syntax `condition ? valueIfTrue : valueIfFalse` that evaluates to one of two values based on a boolean condition — an...
- TOML
- Tom's Obvious Minimal Language — a configuration file format designed to be easy to read due to clear semantics. Uses [sections], key = value pairs, and native...
- Unpacking
- A syntactic feature — called destructuring in JavaScript and unpacking in Python — that extracts individual values from a collection (tuple, list, dict, or...
- Whitespace
- Characters in source code that represent empty space — spaces, tabs, newlines, and carriage returns — which most languages use for formatting and readability,...
Related Topics
- Functional (3 terms in common)
- Control Flow (2 terms in common)
- Pattern Matching (2 terms in common)
- Lisp (2 terms in common)
- Shell (2 terms in common)
- Oop (2 terms in common)
- Expressions (2 terms in common)
- Python (2 terms in common)
- Programming Languages (2 terms in common)
- Unix (1 terms in common)
- Polymorphism (1 terms in common)
- Operators (1 terms in common)
- Templates (1 terms in common)
- Frontend (1 terms in common)
- Scripting (1 terms in common)
- Code (1 terms in common)
- Configuration (1 terms in common)
- Ruby (1 terms in common)
- Functional Programming (1 terms in common)
- Formatting (1 terms in common)