Skip to main content

snake_case convention

A type of writing in programming where you use underscores (_) between each word in a compound word or a phrase. It is useful for text-based programming because sometimes you need to name something that needs more than one word and you can't have spaces. For example: sprite_running_function (also see camelCase convention). Note this is the preferred convention for Python