snake_case

Snake_case is a naming convention in programming where words are joined by underscores and written in lowercase: user_name, total_count, get_file_path.

The underscores resemble a snake lying flat.

Common in Python and database work, it contrasts with camelCase, where capitals mark word boundaries instead.

Related

code · programming · identifier · readable · function · separator · style · syntax · developer · typing · format · constant · method · string · verbose · clean · legible · pythonic

Categories
Opposites
naming convention style

snake_casecamelCase

Identifier naming convention

lowercase · space case

Family

snake, case, snakes, snaked, snaking, snaky, snakelike, cases, cased

Familiarity
Top 200,000