101010.pl is one of the many independent Mastodon servers you can use to participate in the fediverse.
101010.pl czyli najstarszy polski serwer Mastodon. Posiadamy wpisy do 2048 znaków.

Server stats:

486
active users

#snake_case

0 posts0 participants0 posts today

@weirdwriter

#Inclusion and #Programming

#snake_case,
#kebap-case,
#camelCase, and
#PascalCase

(1/n)

" I wish all apps made all hashtags pascal case! "
Thanks for sharing this introspective, Robert.
Me, too. In fact, it makes long hashtags more easily readable for "sighted people" as well. ;) It is quite a bit more work, alas, in particular, as my apps try suggesting (and auto-replacing) previously used #Hashtags with all small letters, which I then have to...

@MoiraEve @elan @jamesbritt

What is the difference between PascalCase, camelCase, Kebab-case, and Snake_case?

It all started in programming all the way back in the 90s, but it is very useful in today's world of #hashtags, most specially in the #fediverse.

Let's go over each.
1. #PascalCase. First letter of every word should be capitalised.

e.g. #ThisIsYetAnotherExample

2. #camelCase. First letter of the first word should be in lowercase. Every other word after should be capitalised.

e.g. #thisIsAnExample

3. #Kebab-case. Words are separated with a hyphen.

e.g. #this-Is-an-Example

4. #Snake_case. Words are separated with an underscore.

e.g. #This_is_An_example

---

Most #SNS software and apps will not convert Snake_case and Kebab-case hashtags into an active link, so these two are rarely used.

PascalCase is the preferred format as it makes it very easy to read hashtags with multiple words. A camelCase #hashtag is fine as well.

Well, that's as short as it can be.