home.social

#thisisyetanotherexample — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #thisisyetanotherexample, aggregated by home.social.

fetched live
  1. 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.