Yohan Yukiya Sese Cuneta 사요한🦣<p>What is the difference between PascalCase, camelCase, Kebab-case, and Snake_case?</p><p>It all started in programming all the way back in the 90s, but it is very useful in today's world of <a href="https://c.im/tags/hashtags" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hashtags</span></a>, most specially in the <a href="https://c.im/tags/fediverse" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fediverse</span></a>.</p><p>Let's go over each.<br>1. <a href="https://c.im/tags/PascalCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PascalCase</span></a>. First letter of every word should be capitalised.</p><p>e.g. <a href="https://c.im/tags/ThisIsYetAnotherExample" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ThisIsYetAnotherExample</span></a></p><p>2. <a href="https://c.im/tags/camelCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>camelCase</span></a>. First letter of the first word should be in lowercase. Every other word after should be capitalised.</p><p>e.g. <a href="https://c.im/tags/thisIsAnExample" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>thisIsAnExample</span></a></p><p>3. <a href="https://c.im/tags/Kebab" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Kebab</span></a>-case. Words are separated with a hyphen.</p><p>e.g. <a href="https://c.im/tags/this" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>this</span></a>-Is-an-Example</p><p>4. <a href="https://c.im/tags/Snake_case" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Snake_case</span></a>. Words are separated with an underscore.</p><p>e.g. <a href="https://c.im/tags/This_is_An_example" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>This_is_An_example</span></a></p><p>---</p><p>Most <a href="https://c.im/tags/SNS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SNS</span></a> software and apps will not convert Snake_case and Kebab-case hashtags into an active link, so these two are rarely used.</p><p>PascalCase is the preferred format as it makes it very easy to read hashtags with multiple words. A camelCase <a href="https://c.im/tags/hashtag" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hashtag</span></a> is fine as well.</p><p>Well, that's as short as it can be.</p>