looks_two
camelCase
Start smooth and low, then ride the hump in the middle.
myBigPackage = true;
The Technique
The first word is lowercase. Every subsequent word starts with an uppercase letter. No spaces. Just tight, seamless integration.
Where to use it
JavaScript variables, Java methods, and anytime you want to be modern but standard. It’s the missionary position of coding—reliable, standard, and everyone leaves satisfied.
stat_3
PascalCase
Start big, stay big. Every single part stands tall, proud, and ready for action.
HugeObjectFactory
The Technique
Capitalize the first letter of EVERY word. It demands attention. It dominates the line. It's the alpha of nomenclature.
Where to use it
Class names, Constructors, and Interfaces. Use this when you're defining the blueprint for something truly massive. Size matters here.
gesture
snake_case
Keep it low, keep it long, and let it slither across the floor.
long_slithering_python
The Technique
All lowercase. Words are separated by an underscore (
_
). It extends the length of your... member... significantly.
Where to use it
Python, Ruby, and Database fields. It's relaxed, readable, and perfect for deep insertions into the database.
remove
kebab-case
Skewered right through the middle. A firm dash to keep the parts from separating.
stick-it-through-here
The Technique
All lowercase. Words separated by a hyphen (
-
). It looks like a long skewer ready for grilling.
Where to use it
URLs and CSS classes. It's great for the web, but keep it out of your backend code—most parsers see the dash as a subtraction, and nobody likes it when you take things away just when it's getting good.
train
Train-Case
Chugging along with power and purpose. Capitalized and connected, ready to haul a heavy load.
Big-Heavy-Load
The Technique
Capitalized Words. Separated by a hyphen (
-
). It's like a series of sturdy cars linked together, moving in rhythm.
Where to use it
HTTP Headers. It's formal, structured, and ensures your payload gets delivered exactly where it needs to go without spilling a drop.
warning
SCREAMING_SNAKE
Loud, proud, and rock hard. This one doesn't soften for anybody.
HARD_LIMIT_REACHED
The Technique
ALL CAPS. Underscores. It's shouting at you. It's intense. It demands total submission. You don't change it; it changes you.
Where to use it
Constants. Values that are forbidden from changing. Once you set it, it stays that way forever.