We have camelCase
, PascalCase
, snake_case
, and kebab-case
. Is there a name for dot.separated.case
?
Maybe there isn't a name for it, maybe I can't properly word my question for Google, but I can't find anything for it.
Pascal case naming convention The term Pascal case was popularized by the Pascal programming language. Pascal itself is case insensitive, so the use of PascalCase was not a requirement. However, it became standard convention for Pascal developers, as it improved the readability of code.
Camel case and Pascal case are similar. Both demand variables made from compound words and have the first letter of each appended word written with an uppercase letter. The difference is that Pascal case requires the first letter to be uppercase as well, while camel case does not.
What is CamelCase? CamelCase is a way to separate the words in a phrase by making the first letter of each word capitalized and not using spaces. It is commonly used in web URLs, programming and computer naming conventions. It is named after camels because the capital letters resemble the humps on a camel's back.
What is Pascal Case? Unlike the previous examples, names in pascal case start with a capital letter. In case of the names with multiple words, all words will start with capital letters. Here are some examples of pascal case: FirstName and LastName .
The "dot case format" or "dot notation" is the common denotation here. The format often used in property files, resource-bundles or yaml-files.
It's basically a convention that makes it easier to see what properties are related.
For example:
person.title="Title"
person.surname="Surname"
person.job.description="Some description"
You can easily collect similar properties by filtering the prefix like 'person.' to only see the properties defined for a person.
The dot.case format is also used in maven to name properties. E.g:
${project.build.directory}
See also the maven pom properties
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With