I was today years old when I learned the term "kebab case"

#programming #case #naming #camelcase #snakecase #kebabcase #variables #developers #tech

#TIL that #SnakeCase is a less frequently used tagging scheme on the #fediverse.

This could be due to that some services break their internal tagging schema, e.g. #Minds doesn't work well with #KebabCase.

Or it could be due to the laziness of the users and subjectively arguing that #snake_case doesn't add to the readability of #PascalCase or #camelCase tags.

In return the argument is that snake_case can add value if the tag has a not obvious word break, especially if the tag is completely written in lowercase or UPPERCASE.

Or if the the underscore replaces a different character other than space like slash, pipe, hyphen, etc.

And in AReallyLongTag / a_really_long_tag it could aid readability.

Thus if one wants grouping and discoverability of posts while creating a brand identity consider using snake_case tags.

#mastodon #ActivityPub #friendica #pixelfed

Kebab case - MDN Web Docs Glossary: Definitions of Web-related terms | MDN

Kebab case is a way of writing phrases without spaces, where spaces are replaced with hyphens -, and the words are typically all lower case. The name comes from the similarity of the words to meat on a kebab skewer. It's often stylized as "kebab-case" to remind the reader of its appearance.

MDN Web Docs
heck - Rust

heck is a case conversion library.

@sassdawe @anselmschueler @gavi no.

  • Just an admission that it's scientifically #cringe and bad...

Kinda like randomly mixing upper- and lowercase in a regular text is bad and ruins the benefits of uppercase and lowercase letters making text unnecessarily hard to read.

  • Like I can understand people writing lowercase-only, uppercase-only, correct as per grammar or even start every word with an uppercase for accessibility reasons.

To me mixing two styles like #KebabCase and #CamelCase makes it way less readable, harder to learn, easier to mistype thus harder to review amd debug.

  • There's a reason why #MSDOS was case-insensitive / uppercase-only, and there are reasons #unix-esque shells use case-sensitive, lowercase-only.

  • Same for invoking commands like [command] [options] [source] [target] making it trivial to transfer knowledge, quickly ramping up speed and efficiency due to conventions like -v for verbose output and adding more v 's to it for more detailed debug info...

OFC there are exceptions like dd where Source and Target are passed on as options but even then they're few, far in between and easy to memorize..

camelCase
40%
snake_case
60%
kebab-case
0%
PascalCase
0%
Poll ended at .
@dinkyshop we have QTs on Firefish. They really are nice. Check out an instance there. Here are some features:

* Easily switch and manage your accounts.
* Edit posts (real edit)
* Advanced search. (see: screenshot)
* Add users in list without following them first.
* Follow the public ‘local’ timeline of other instances/servers.
* Multi-window. Open a Calckey link in a new window within Firefish. (see: screenshot)
* ‘Local only’ posts (see: screenshot)
* Cat ears.
* Three UIs available:
* Default / modern
* Deck
* Classic
* Create or install a custom theme | theme gallery
* Pages (like this one)
* OCR based caption/alt-text
* Customisable sidebar and top bar.
* PWA / Webapp
* Antennae. Filter by:
* Keywords
* Instances
* Users
* Bookmarks
* Clips. It is bookmarks with ‘folders’.
* Groups. Private groups.
* Channels. Similar to a public forums or BBS.
* Reactions and custom emojis.
* Misskey Flavoured Markdown (MFM) | see: Cheatsheet
* Migrate your Mastodon profile to Firefish.
* Import your follows from Pixelfed.
* AVIF support
* Customisable notification sounds
* Add more than four links in your profile.
* Quote-replies.
* If it is viewed within Calckey, the quote-reply is displayed within the original thread. Great way to keep the context and keep the branched thread in the same tree.
* More poll options.
* Supports
#Kebab-case hashtags (a.k.a. hypenated hashtags) (shared by Michaela Molthagen)
* Attach up to 16 images.
* Chat (a dedicated DM/PM UI)
* Plugins see: [post)
I just found out #Kebab-case (a.k.a. hyphenated) hashtags are supported in #Calckey. ^_^

Added it in:
*
#CalckeyTips clip: https://calckey.social/clips/9dw8zqteye
* Calckey FAQ (personal, unofficial):
https://calckey.social/@youronlyone/pages/calckey-faq

RE:
https://social.molthagen.de/notes/9fcfz6ldbx
Firefish (f. Calckey) tips

A collection of #Firefish (f. #Calckey [and #Misskey]) tips.

Firefish Social