Names I’ve seen used to refer to naming conventions:
unix_hacker_style : Everything is lower case, though
exceptions exist. E.g. HTTP_foo_bar.
SCREAMING_SNAKE_CASE : Usually reserved for macros and
camelCase : The first letter is lowercase.
PascalCase : The first letter is uppercase.
kabob-case : Like snake_case, but uses
dashes instead of underscores. Common for command-line options1, CSS styles, commands (e.g.
While looking idly looking for details on this, I stumbled on this
Medium post which is relevant.
Opinions vary on whether the correct convention for
command line options is snake_case or
kabob-case. Long form options are often written as
--long-option, but can also be --long_option
(where the delimiter within the option is _).↩︎