@sascha Es gibt auch Leute, die Hashtags mit Unterstrichen schreiben: #snake_case
@sascha Es gibt auch Leute, die Hashtags mit Unterstrichen schreiben: #snake_case
#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...
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.
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.
Not to be pedantic but I keep seeing people mistakenly referring to #PascalCase as #camelCase and the programmer in me just can't stand it
Camel case is just like pascal case except the first letter is small.
Also, if you're curious about other letter cases, there's also #kebab-case and #snake_case. Both of which I think have very adorable names.