Word separator in identifiers (snake_case), placeholder, private convention
~
Tilde
Bitwise NOT (C), home directory (Unix), approximation, version ranges
\
Backslash
Escape character (\n, \t), path separator (Windows), line continuation
|
Pipe
Vertical bar
Bitwise OR, pipe operator (shell), union types (TypeScript), alternation (regex)
&
Ampersand
And symbol
Bitwise AND, reference operator (C++), background jobs (shell), HTML entities
Common Phrases & Terms
Opening/Closing Bracket
The left symbol starts (opens) a pair; the right symbol ends (closes) it. Example: ( is opening parenthesis, ) is closing parenthesis.
Brace-Delimited Block
A code block enclosed in curly braces { }. Common in C-style languages for functions, loops, conditionals.
Parenthesized Expression
An expression wrapped in parentheses ( ) for grouping or precedence. Example: (a + b) * c
Angle-Bracket Syntax
Using < > for generics, type parameters, or templates. Example: Array<number>, <div>
Quote-Delimited String
A string literal enclosed in quotes (single, double, or backticks). The quotes delimit (mark the boundaries of) the string content.
Square Bracket Notation
Using [ ] to access array/object elements or define arrays. Example: arr[0], [1, 2, 3]
Important Notes & Pitfalls
â ī¸ "Brackets" is Ambiguous
In casual speech, "brackets" can refer to any paired delimiters. Be specific: use "parentheses", "square brackets", "curly braces", or "angle brackets" to avoid confusion.
â "Curly Bracers" is WRONG
The correct term is "curly braces" or just "braces". "Bracers" are armor worn on the arms â not programming symbols! This is a common mistake.
âšī¸ Hyphen vs. Minus
In text, - is called a "hyphen" or "dash" (e.g., "multi-line"). In code as an operator, it's "minus" (subtraction or negation). Context matters!
â Context is Key
Many symbols have multiple meanings depending on context. * can be multiplication, pointer dereference, or a wildcard. | can be bitwise OR, logical OR, or a pipe operator. Always clarify based on usage.
đ Regional Differences
Some terms vary by region. Americans often say "parentheses", while British speakers might say "brackets" for ( ). For global clarity, use the most specific term or provide both names.