2025-07-26 — By Siddharth Jain · 6 min read
When you write code, you use dozens of punctuation marks and special symbols. Knowing their names helps you navigate documentation, ask for help quickly, and reference them in code reviews. Here's your comprehensive guide to the most common programming symbols, their names, and how they're used.
Symbol | Name(s) | Common Uses |
---|---|---|
` | Backtick, Grave Accent | Template literals (JS), shell commands |
~ | Tilde | Bitwise NOT, home directory in UNIX, approximation |
: | Colon | Type hint, label, object keys, ternary |
; | Semicolon | End statement, delimiter |
" | Double quote | String delimiter |
' | Single quote, Apostrophe | String/char delimiter, possession |
`` | Pair of backticks, code block | Markdown, shell code segments |
> | Greater than, Right angle | Comparisons, HTML tags, output redirection |
| ), comments (
// comment`), file paths in UNIX.
snake_case
), ignoring values in Python assignments.$VAR
) and string templates (${variable}
in JS/TS).# Header
), preprocessor in C/C++.a * b
), pointer (int *ptr
), wildcards in search/regex.x % 2
gives remainder).!
= Bang, Shriek#
= Hash, Octothorpe, Pound, Sharp|
= Pipe, Vertical Bar~
= Tilde, Squiggle/
= Slash, Solidus