From aceba764d0b5eaf4505c88b6020b6d0f4e017938 Mon Sep 17 00:00:00 2001 From: "Moritz Tim W." <90388353+moritztim@users.noreply.github.com> Date: Tue, 14 Jan 2025 00:13:54 +0100 Subject: [PATCH 01/13] Give synonyms their own section --- content/cases/camel.md | 5 ++++- content/cases/cobol.md | 4 +++- content/cases/constant.md | 5 ++++- content/cases/kebab.md | 5 ++++- content/cases/pascal.md | 4 +++- content/cases/snake.md | 4 +++- 6 files changed, 21 insertions(+), 6 deletions(-) diff --git a/content/cases/camel.md b/content/cases/camel.md index 200f836..c07e737 100644 --- a/content/cases/camel.md +++ b/content/cases/camel.md @@ -5,7 +5,10 @@ weight = 34 _Camel case_ is the camel pattern with empty string delimiter. -Camel case is also known as _mixed case_ or _lower camel case_ (to distinguish it from [pascal case](../pascal)). +## Synonyms + +- _Mixed case_ +- _Lower camel case_, to distinguish it from [pascal case](../pascal). ## Known Literature diff --git a/content/cases/cobol.md b/content/cases/cobol.md index 12158ef..3b87628 100644 --- a/content/cases/cobol.md +++ b/content/cases/cobol.md @@ -5,7 +5,9 @@ weight = 21 _Cobol case_ is the upper pattern with hyphen `-` delimiter. -Cobol case is also known as _upper kebab case_. +## Synonyms + +- _Upper kebab case_ ## History diff --git a/content/cases/constant.md b/content/cases/constant.md index 59bb2f7..894c05e 100644 --- a/content/cases/constant.md +++ b/content/cases/constant.md @@ -5,7 +5,10 @@ weight = 11 _Constant case_ is the upper pattern with underscore `_` delimiter. -Constant case is also known as _upper snake case_ or _screaming snake case_. +## Synonyms + +- _Upper snake case_ +- _Screaming snake case_ ## History diff --git a/content/cases/kebab.md b/content/cases/kebab.md index 557f780..0fa479f 100644 --- a/content/cases/kebab.md +++ b/content/cases/kebab.md @@ -5,7 +5,10 @@ weight = 20 _Kebab case_ is the lower pattern with the hyphen `-` delimiter. -Kebab case is also known as _dash case_ or _hyphen case_. +## Synonyms + +- _Dash case_ +- _Hyphen case_ ## History diff --git a/content/cases/pascal.md b/content/cases/pascal.md index b45dfe7..47f2571 100644 --- a/content/cases/pascal.md +++ b/content/cases/pascal.md @@ -5,4 +5,6 @@ weight = 34 _Pascal case_ is the capital pattern with empty string delimiter. -Pascal case is also known as _upper camel case_. +## Synonyms + +- _Upper camel case_ diff --git a/content/cases/snake.md b/content/cases/snake.md index 47ab4a9..7026cd1 100644 --- a/content/cases/snake.md +++ b/content/cases/snake.md @@ -5,7 +5,9 @@ weight = 10 _Snake case_ is the lower pattern with underscore `_` delimiter. -Snake case is also known as _lowercase_with_underscores_. +## Synonyms + +- _Lowercase with underscores_ ## Known Literature From 173017ad4c33abc8687d817391da0f9149632c41 Mon Sep 17 00:00:00 2001 From: "Moritz Tim W." <90388353+moritztim@users.noreply.github.com> Date: Tue, 14 Jan 2025 00:32:04 +0100 Subject: [PATCH 02/13] combine similar synonyms --- content/cases/constant.md | 3 +-- content/cases/kebab.md | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/content/cases/constant.md b/content/cases/constant.md index 894c05e..b3ec3ce 100644 --- a/content/cases/constant.md +++ b/content/cases/constant.md @@ -7,8 +7,7 @@ _Constant case_ is the upper pattern with underscore `_` delimiter. ## Synonyms -- _Upper snake case_ -- _Screaming snake case_ +- _Upper snake case_ or _Screaming snake case_ ## History diff --git a/content/cases/kebab.md b/content/cases/kebab.md index 0fa479f..ff31e52 100644 --- a/content/cases/kebab.md +++ b/content/cases/kebab.md @@ -7,8 +7,7 @@ _Kebab case_ is the lower pattern with the hyphen `-` delimiter. ## Synonyms -- _Dash case_ -- _Hyphen case_ +- _Dash case_ or _Hyphen case_ ## History From 90e451727d3f6886ef1eb9959ed47f9f964816c7 Mon Sep 17 00:00:00 2001 From: "Moritz Tim W." <90388353+moritztim@users.noreply.github.com> Date: Tue, 14 Jan 2025 00:57:04 +0100 Subject: [PATCH 03/13] add more synonyms --- content/cases/camel.md | 12 +++++++++++- content/cases/cobol.md | 2 +- content/cases/constant.md | 1 + content/cases/flat.md | 4 ++++ content/cases/kebab.md | 3 +++ content/cases/pascal.md | 4 ++++ content/cases/snake.md | 1 + 7 files changed, 25 insertions(+), 2 deletions(-) diff --git a/content/cases/camel.md b/content/cases/camel.md index c07e737..3176055 100644 --- a/content/cases/camel.md +++ b/content/cases/camel.md @@ -7,9 +7,19 @@ _Camel case_ is the camel pattern with empty string delimiter. ## Synonyms +- _Camel caps_ - _Mixed case_ - _Lower camel case_, to distinguish it from [pascal case](../pascal). - +- _Dromedary case_, also to distinguish it from [pascal case](../pascal), since dromedary camels have only one hump, comparable to the single upper case letter. +- _Camel back_ +- _Compound Names_ +- _Embedded Capitals_ or _Embedded Caps_ +- _Bumpy case_ or _Bumpy caps_ +- _Nerd caps_ +- _Turtle case_ +- _Smalltalk case_, in reference to the Smalltalk programming language **todo: verify** + +**todo: figure out which of these are specific to lower camel case** ## Known Literature Google's C++ style guide refers to camel case as mixed case, and further describes how you would define the words that compose an identifier, and then even mentions abbreviations. [^1] diff --git a/content/cases/cobol.md b/content/cases/cobol.md index 3b87628..d3c6a79 100644 --- a/content/cases/cobol.md +++ b/content/cases/cobol.md @@ -7,7 +7,7 @@ _Cobol case_ is the upper pattern with hyphen `-` delimiter. ## Synonyms -- _Upper kebab case_ +- _Upper kebab case_ or _Screaming kebab case_ ## History diff --git a/content/cases/constant.md b/content/cases/constant.md index b3ec3ce..cbba6cd 100644 --- a/content/cases/constant.md +++ b/content/cases/constant.md @@ -8,6 +8,7 @@ _Constant case_ is the upper pattern with underscore `_` delimiter. ## Synonyms - _Upper snake case_ or _Screaming snake case_ +- _upper snail case_ or _Screaming snail case_ ## History diff --git a/content/cases/flat.md b/content/cases/flat.md index 49d578b..57ba0be 100644 --- a/content/cases/flat.md +++ b/content/cases/flat.md @@ -5,6 +5,10 @@ weight = 30 _Flat case_ is the lower pattern with empty string delimiter. +## Synonyms + +- _Lazy case_ + ## Known Literature Google style guide: https://google.github.io/styleguide/javaguide.html#s5.2.1-package-names [^1]: diff --git a/content/cases/kebab.md b/content/cases/kebab.md index ff31e52..11de932 100644 --- a/content/cases/kebab.md +++ b/content/cases/kebab.md @@ -8,6 +8,9 @@ _Kebab case_ is the lower pattern with the hyphen `-` delimiter. ## Synonyms - _Dash case_ or _Hyphen case_ +- _Spinal case_ +- _Param case_ +- _Lisp case_, in reference to the Lisp programming language ## History diff --git a/content/cases/pascal.md b/content/cases/pascal.md index 47f2571..8e06f3c 100644 --- a/content/cases/pascal.md +++ b/content/cases/pascal.md @@ -8,3 +8,7 @@ _Pascal case_ is the capital pattern with empty string delimiter. ## Synonyms - _Upper camel case_ +- _Studly caps_, _Studly capitals_, or _Studly case_ +- _Proper case_ +- _WikiWord_ or _Wiki case_, stemming from the TWiki software +- _Bumpy case_ diff --git a/content/cases/snake.md b/content/cases/snake.md index 7026cd1..19653ac 100644 --- a/content/cases/snake.md +++ b/content/cases/snake.md @@ -7,6 +7,7 @@ _Snake case_ is the lower pattern with underscore `_` delimiter. ## Synonyms +- _Snail case_ - _Lowercase with underscores_ ## Known Literature From 703d9d54c789cf06227a49905f05b52c1bac5803 Mon Sep 17 00:00:00 2001 From: "Moritz Tim W." <90388353+moritztim@users.noreply.github.com> Date: Tue, 14 Jan 2025 01:30:04 +0100 Subject: [PATCH 04/13] Add sources for camel case --- content/cases/camel.md | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/content/cases/camel.md b/content/cases/camel.md index 3176055..8c0c2c4 100644 --- a/content/cases/camel.md +++ b/content/cases/camel.md @@ -8,25 +8,33 @@ _Camel case_ is the camel pattern with empty string delimiter. ## Synonyms - _Camel caps_ -- _Mixed case_ +- _Mixed case_[^1] - _Lower camel case_, to distinguish it from [pascal case](../pascal). -- _Dromedary case_, also to distinguish it from [pascal case](../pascal), since dromedary camels have only one hump, comparable to the single upper case letter. -- _Camel back_ -- _Compound Names_ -- _Embedded Capitals_ or _Embedded Caps_ -- _Bumpy case_ or _Bumpy caps_ -- _Nerd caps_ -- _Turtle case_ +- _Dromedary case_, also to distinguish it from [pascal case](../pascal), since dromedary camels have only one hump[^2], comparable to the single upper case letter. +- _Camel back_[^3] +- _Compound Names_[^4] +- _Embedded Capitals_[^5] or _Embedded Caps_[^6] +- _Bumpy case_ or _Bumpy caps_[^6] +- _Nerd caps_[^6] +- _Turtle case_[^6] - _Smalltalk case_, in reference to the Smalltalk programming language **todo: verify** **todo: figure out which of these are specific to lower camel case** + +[^1]: [Style Guide for Python Code: Naming Styles](https://legacy.python.org/dev/peps/pep-0008/#descriptive-naming-styles) +[^2]: [National Geographic: Arabian Camel (Dromedary)](https://www.nationalgeographic.com/animals/mammals/facts/arabian-camel) +[^3]: [Purdue University: C# Coding Standards and Guidelines](https://web.archive.org/web/20080411055228/http://www2.tech.purdue.edu/cit/Courses/CPT355/C_Sharp_Coding_Standards_and_Guidelines.asp) +[^4]: [Ian Feldman: compoundNames](https://groups.google.com/group/alt.folklore.computers/browse_thread/thread/6099191f2c4e0984/21f332e5b813313e?#21f332e5b813313e) +[^5]: [Dwight Harn: If class name has embedded capitals, AppGen code fails UI tests, and generated hyperlinks are incorrect.](https://web.archive.org/web/20170625073321/http://issues.appfuse.org/browse/APF-1088) +[^6]: [Michelle Rau: CamelCase: It's a thing](https://michellerau.com/2017/03/25/camelcase-its-a-thing/) + ## Known Literature -Google's C++ style guide refers to camel case as mixed case, and further describes how you would define the words that compose an identifier, and then even mentions abbreviations. [^1] +Google's C++ style guide refers to camel case as mixed case, and further describes how you would define the words that compose an identifier, and then even mentions abbreviations. [^7] > For the purposes of the naming rules below, a "word" is anything that you would write in English without internal spaces. This includes abbreviations, such as acronyms and initialisms. For names written in mixed case (also sometimes referred to as "camel case" or "Pascal case"), in which the first letter of each word is capitalized, prefer to capitalize abbreviations as single words, e.g., StartRpc() rather than StartRPC(). -[^1]: [Google C++ Style Guide: General Naming Rules](https://google.github.io/styleguide/cppguide.html#General_Naming_Rules) +[^7]: [Google C++ Style Guide: General Naming Rules](https://google.github.io/styleguide/cppguide.html#General_Naming_Rules) ## Examples From 8bb414c1c80396896809f8392c76a135173d1326 Mon Sep 17 00:00:00 2001 From: "Moritz Tim W." <90388353+moritztim@users.noreply.github.com> Date: Tue, 14 Jan 2025 01:33:50 +0100 Subject: [PATCH 05/13] Remove false synonym --- content/cases/pascal.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/cases/pascal.md b/content/cases/pascal.md index 8e06f3c..91d5b3c 100644 --- a/content/cases/pascal.md +++ b/content/cases/pascal.md @@ -8,7 +8,6 @@ _Pascal case_ is the capital pattern with empty string delimiter. ## Synonyms - _Upper camel case_ -- _Studly caps_, _Studly capitals_, or _Studly case_ - _Proper case_ - _WikiWord_ or _Wiki case_, stemming from the TWiki software - _Bumpy case_ From 370b3393caf75f037056c85e37f029b2c69ef425 Mon Sep 17 00:00:00 2001 From: "Moritz Tim W." <90388353+moritztim@users.noreply.github.com> Date: Tue, 14 Jan 2025 01:34:35 +0100 Subject: [PATCH 06/13] Add sources for pascal case --- content/cases/pascal.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/content/cases/pascal.md b/content/cases/pascal.md index 91d5b3c..4f8aa49 100644 --- a/content/cases/pascal.md +++ b/content/cases/pascal.md @@ -8,6 +8,9 @@ _Pascal case_ is the capital pattern with empty string delimiter. ## Synonyms - _Upper camel case_ -- _Proper case_ -- _WikiWord_ or _Wiki case_, stemming from the TWiki software -- _Bumpy case_ +- _Proper case_[^2] +- _WikiWord_[^1] or _Wiki case_[^2], stemming from the TWiki software +- _Bumpy case_[^2] + +[^1]: [Twiki: What is a WikiWord?](https://web.archive.org/web/20100619042605/http://twiki.org/cgi-bin/view/TWiki/WikiWord) +[^2]: [Michelle Rau: CamelCase: It's a thing](https://michellerau.com/2017/03/25/camelcase-its-a-thing/) From f709824b237fac578ec4b8fdffddb46198d17442 Mon Sep 17 00:00:00 2001 From: "Moritz Tim W." <90388353+moritztim@users.noreply.github.com> Date: Tue, 14 Jan 2025 01:35:30 +0100 Subject: [PATCH 07/13] reference more recent version of source --- content/cases/camel.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/cases/camel.md b/content/cases/camel.md index 8c0c2c4..3758d64 100644 --- a/content/cases/camel.md +++ b/content/cases/camel.md @@ -21,7 +21,7 @@ _Camel case_ is the camel pattern with empty string delimiter. **todo: figure out which of these are specific to lower camel case** -[^1]: [Style Guide for Python Code: Naming Styles](https://legacy.python.org/dev/peps/pep-0008/#descriptive-naming-styles) +[^1]: [Style Guide for Python Code: Naming Styles](https://peps.python.org/pep-0008/#descriptive-naming-styles) [^2]: [National Geographic: Arabian Camel (Dromedary)](https://www.nationalgeographic.com/animals/mammals/facts/arabian-camel) [^3]: [Purdue University: C# Coding Standards and Guidelines](https://web.archive.org/web/20080411055228/http://www2.tech.purdue.edu/cit/Courses/CPT355/C_Sharp_Coding_Standards_and_Guidelines.asp) [^4]: [Ian Feldman: compoundNames](https://groups.google.com/group/alt.folklore.computers/browse_thread/thread/6099191f2c4e0984/21f332e5b813313e?#21f332e5b813313e) From e2e46913ff6d58d7ae5cec84fb1d80b7e8a58eac Mon Sep 17 00:00:00 2001 From: "Moritz Tim W." <90388353+moritztim@users.noreply.github.com> Date: Tue, 14 Jan 2025 01:38:59 +0100 Subject: [PATCH 08/13] add reference to source for snake case --- content/cases/snake.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/cases/snake.md b/content/cases/snake.md index 19653ac..d76869c 100644 --- a/content/cases/snake.md +++ b/content/cases/snake.md @@ -8,7 +8,7 @@ _Snake case_ is the lower pattern with underscore `_` delimiter. ## Synonyms - _Snail case_ -- _Lowercase with underscores_ +- _Lowercase with underscores_[^1] ## Known Literature From bbf49a5c729884dae708a9a430eda91700f22b42 Mon Sep 17 00:00:00 2001 From: "Moritz Tim W." <90388353+moritztim@users.noreply.github.com> Date: Tue, 14 Jan 2025 01:40:33 +0100 Subject: [PATCH 09/13] add another synonym for kebab case --- content/cases/kebab.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/cases/kebab.md b/content/cases/kebab.md index 11de932..8e22ca2 100644 --- a/content/cases/kebab.md +++ b/content/cases/kebab.md @@ -8,6 +8,7 @@ _Kebab case_ is the lower pattern with the hyphen `-` delimiter. ## Synonyms - _Dash case_ or _Hyphen case_ +- _List case_ - _Spinal case_ - _Param case_ - _Lisp case_, in reference to the Lisp programming language From b90246840d96374a7331a4642e848586c7226cad Mon Sep 17 00:00:00 2001 From: "Moritz Tim W." <90388353+moritztim@users.noreply.github.com> Date: Tue, 14 Jan 2025 01:49:44 +0100 Subject: [PATCH 10/13] add sources for kebab case --- content/cases/kebab.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/content/cases/kebab.md b/content/cases/kebab.md index 8e22ca2..b2f3a94 100644 --- a/content/cases/kebab.md +++ b/content/cases/kebab.md @@ -7,11 +7,14 @@ _Kebab case_ is the lower pattern with the hyphen `-` delimiter. ## Synonyms -- _Dash case_ or _Hyphen case_ -- _List case_ -- _Spinal case_ -- _Param case_ -- _Lisp case_, in reference to the Lisp programming language +- _Dash case_[^1] or _Hyphen case_[^2] +- _List case_[^1] +- _Spinal case_[^1] +- _Param case_[^2] +- _Lisp case_[^1], in reference to the Lisp programming language + +[^1]: [Nishanth J., answering: What are the different kinds of cases?](https://stackoverflow.com/a/64293621) +[^2]: [Andreas Herz, answering: What are the different kinds of cases?](https://stackoverflow.com/a/54330161) ## History From f10659c9324509808a0b893b2d8c717ece803c53 Mon Sep 17 00:00:00 2001 From: "Moritz Tim W." <90388353+moritztim@users.noreply.github.com> Date: Tue, 14 Jan 2025 01:50:10 +0100 Subject: [PATCH 11/13] add source for "Dromedary case" --- content/cases/camel.md | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/content/cases/camel.md b/content/cases/camel.md index 3758d64..b74ff70 100644 --- a/content/cases/camel.md +++ b/content/cases/camel.md @@ -10,31 +10,32 @@ _Camel case_ is the camel pattern with empty string delimiter. - _Camel caps_ - _Mixed case_[^1] - _Lower camel case_, to distinguish it from [pascal case](../pascal). -- _Dromedary case_, also to distinguish it from [pascal case](../pascal), since dromedary camels have only one hump[^2], comparable to the single upper case letter. -- _Camel back_[^3] -- _Compound Names_[^4] -- _Embedded Capitals_[^5] or _Embedded Caps_[^6] -- _Bumpy case_ or _Bumpy caps_[^6] -- _Nerd caps_[^6] -- _Turtle case_[^6] +- _Dromedary case_[^2], also to distinguish it from [pascal case](../pascal), since dromedary camels have only one hump[^3], comparable to the single upper case letter. +- _Camel back_[^4] +- _Compound Names_[^5] +- _Embedded Capitals_[^6] or _Embedded Caps_[^7] +- _Bumpy case_ or _Bumpy caps_[^7] +- _Nerd caps_[^7] +- _Turtle case_[^7] - _Smalltalk case_, in reference to the Smalltalk programming language **todo: verify** **todo: figure out which of these are specific to lower camel case** [^1]: [Style Guide for Python Code: Naming Styles](https://peps.python.org/pep-0008/#descriptive-naming-styles) -[^2]: [National Geographic: Arabian Camel (Dromedary)](https://www.nationalgeographic.com/animals/mammals/facts/arabian-camel) -[^3]: [Purdue University: C# Coding Standards and Guidelines](https://web.archive.org/web/20080411055228/http://www2.tech.purdue.edu/cit/Courses/CPT355/C_Sharp_Coding_Standards_and_Guidelines.asp) -[^4]: [Ian Feldman: compoundNames](https://groups.google.com/group/alt.folklore.computers/browse_thread/thread/6099191f2c4e0984/21f332e5b813313e?#21f332e5b813313e) -[^5]: [Dwight Harn: If class name has embedded capitals, AppGen code fails UI tests, and generated hyperlinks are incorrect.](https://web.archive.org/web/20170625073321/http://issues.appfuse.org/browse/APF-1088) -[^6]: [Michelle Rau: CamelCase: It's a thing](https://michellerau.com/2017/03/25/camelcase-its-a-thing/) +[^2]: [Nishanth J., answering: What are the different kinds of cases?](https://stackoverflow.com/a/64293621) +[^3]: [National Geographic: Arabian Camel (Dromedary)](https://www.nationalgeographic.com/animals/mammals/facts/arabian-camel) +[^4]: [Purdue University: C# Coding Standards and Guidelines](https://web.archive.org/web/20080411055228/http://www2.tech.purdue.edu/cit/Courses/CPT355/C_Sharp_Coding_Standards_and_Guidelines.asp) +[^5]: [Ian Feldman: compoundNames](https://groups.google.com/group/alt.folklore.computers/browse_thread/thread/6099191f2c4e0984/21f332e5b813313e?#21f332e5b813313e) +[^6]: [Dwight Harn: If class name has embedded capitals, AppGen code fails UI tests, and generated hyperlinks are incorrect.](https://web.archive.org/web/20170625073321/http://issues.appfuse.org/browse/APF-1088) +[^7]: [Michelle Rau: CamelCase: It's a thing](https://michellerau.com/2017/03/25/camelcase-its-a-thing/) ## Known Literature -Google's C++ style guide refers to camel case as mixed case, and further describes how you would define the words that compose an identifier, and then even mentions abbreviations. [^7] +Google's C++ style guide refers to camel case as mixed case, and further describes how you would define the words that compose an identifier, and then even mentions abbreviations. [^8] > For the purposes of the naming rules below, a "word" is anything that you would write in English without internal spaces. This includes abbreviations, such as acronyms and initialisms. For names written in mixed case (also sometimes referred to as "camel case" or "Pascal case"), in which the first letter of each word is capitalized, prefer to capitalize abbreviations as single words, e.g., StartRpc() rather than StartRPC(). -[^7]: [Google C++ Style Guide: General Naming Rules](https://google.github.io/styleguide/cppguide.html#General_Naming_Rules) +[^8]: [Google C++ Style Guide: General Naming Rules](https://google.github.io/styleguide/cppguide.html#General_Naming_Rules) ## Examples From 8f67e034a33f993148de09071be4d58c43dd6d35 Mon Sep 17 00:00:00 2001 From: "Moritz Tim W." <90388353+moritztim@users.noreply.github.com> Date: Tue, 14 Jan 2025 01:52:42 +0100 Subject: [PATCH 12/13] Add back controversial synonym with note --- content/cases/pascal.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/cases/pascal.md b/content/cases/pascal.md index 4f8aa49..3c27d96 100644 --- a/content/cases/pascal.md +++ b/content/cases/pascal.md @@ -11,6 +11,8 @@ _Pascal case_ is the capital pattern with empty string delimiter. - _Proper case_[^2] - _WikiWord_[^1] or _Wiki case_[^2], stemming from the TWiki software - _Bumpy case_[^2] +- _Studly case_[^3] **todo: verify, Michelle Rau claims this is not the same** [^1]: [Twiki: What is a WikiWord?](https://web.archive.org/web/20100619042605/http://twiki.org/cgi-bin/view/TWiki/WikiWord) [^2]: [Michelle Rau: CamelCase: It's a thing](https://michellerau.com/2017/03/25/camelcase-its-a-thing/) +[^3]: [Nishanth J., answering: What are the different kinds of cases?](https://stackoverflow.com/a/64293621) From 0498705b394e7da0802f094e61feeff12947f46f Mon Sep 17 00:00:00 2001 From: "Moritz Tim W." <90388353+moritztim@users.noreply.github.com> Date: Tue, 14 Jan 2025 02:09:30 +0100 Subject: [PATCH 13/13] Add more synonyms from that stackoverflow post --- content/cases/camel.md | 19 +++++++++++-------- content/cases/kebab.md | 1 + 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/content/cases/camel.md b/content/cases/camel.md index b74ff70..edaa035 100644 --- a/content/cases/camel.md +++ b/content/cases/camel.md @@ -13,10 +13,12 @@ _Camel case_ is the camel pattern with empty string delimiter. - _Dromedary case_[^2], also to distinguish it from [pascal case](../pascal), since dromedary camels have only one hump[^3], comparable to the single upper case letter. - _Camel back_[^4] - _Compound Names_[^5] -- _Embedded Capitals_[^6] or _Embedded Caps_[^7] -- _Bumpy case_ or _Bumpy caps_[^7] -- _Nerd caps_[^7] -- _Turtle case_[^7] +- _Pothole case_[^6] +- _Embedded Capitals_[^7] or _Embedded Caps_[^8] +- _Bumpy case_ or _Bumpy caps_[^8] +- _Nerd caps_[^8] +- _Turtle case_[^8] +- _C case_[^2] - _Smalltalk case_, in reference to the Smalltalk programming language **todo: verify** **todo: figure out which of these are specific to lower camel case** @@ -26,16 +28,17 @@ _Camel case_ is the camel pattern with empty string delimiter. [^3]: [National Geographic: Arabian Camel (Dromedary)](https://www.nationalgeographic.com/animals/mammals/facts/arabian-camel) [^4]: [Purdue University: C# Coding Standards and Guidelines](https://web.archive.org/web/20080411055228/http://www2.tech.purdue.edu/cit/Courses/CPT355/C_Sharp_Coding_Standards_and_Guidelines.asp) [^5]: [Ian Feldman: compoundNames](https://groups.google.com/group/alt.folklore.computers/browse_thread/thread/6099191f2c4e0984/21f332e5b813313e?#21f332e5b813313e) -[^6]: [Dwight Harn: If class name has embedded capitals, AppGen code fails UI tests, and generated hyperlinks are incorrect.](https://web.archive.org/web/20170625073321/http://issues.appfuse.org/browse/APF-1088) -[^7]: [Michelle Rau: CamelCase: It's a thing](https://michellerau.com/2017/03/25/camelcase-its-a-thing/) +[^6]: [Michael Guerzhoy: Variable Naming Conventions](https://www.cs.toronto.edu/~guerzhoy/180f16/lectures/W02/lec2/VariableNamingConvetions.html) +[^7]: [Dwight Harn: If class name has embedded capitals, AppGen code fails UI tests, and generated hyperlinks are incorrect.](https://web.archive.org/web/20170625073321/http://issues.appfuse.org/browse/APF-1088) +[^8]: [Michelle Rau: CamelCase: It's a thing](https://michellerau.com/2017/03/25/camelcase-its-a-thing/) ## Known Literature -Google's C++ style guide refers to camel case as mixed case, and further describes how you would define the words that compose an identifier, and then even mentions abbreviations. [^8] +Google's C++ style guide refers to camel case as mixed case, and further describes how you would define the words that compose an identifier, and then even mentions abbreviations. [^9] > For the purposes of the naming rules below, a "word" is anything that you would write in English without internal spaces. This includes abbreviations, such as acronyms and initialisms. For names written in mixed case (also sometimes referred to as "camel case" or "Pascal case"), in which the first letter of each word is capitalized, prefer to capitalize abbreviations as single words, e.g., StartRpc() rather than StartRPC(). -[^8]: [Google C++ Style Guide: General Naming Rules](https://google.github.io/styleguide/cppguide.html#General_Naming_Rules) +[^9]: [Google C++ Style Guide: General Naming Rules](https://google.github.io/styleguide/cppguide.html#General_Naming_Rules) ## Examples diff --git a/content/cases/kebab.md b/content/cases/kebab.md index b2f3a94..7b31a31 100644 --- a/content/cases/kebab.md +++ b/content/cases/kebab.md @@ -10,6 +10,7 @@ _Kebab case_ is the lower pattern with the hyphen `-` delimiter. - _Dash case_[^1] or _Hyphen case_[^2] - _List case_[^1] - _Spinal case_[^1] +- _Caterpillar case_[^2] - _Param case_[^2] - _Lisp case_[^1], in reference to the Lisp programming language