#PascalCase

2025-05-12

Question aux personnes concernées et/ou expertes en accessibilité numérique :

Je me rappelle, il y a longtemps, que le camelCase (mettre une capitale à chaque nouveau mot) était bien mieux pour les hashtags. Cela facilitait la lecture, notamment avec les lecteurs d'écran.

Est-ce toujours le cas ?
Edit: Oui

(Je découvre d'ailleurs sur Wikipedia que j'utilise surtout le "PascalCase" puisque je mets aussi une capitale au 1er mot.)

#CamelCase #PascalCase #AccessibilitéNumérique #LecteurDÉcran

2025-04-30

@h3mmy @rootsandcalluses is this the way to pedantry corner? Shall we head there together?

Camel case is the first letter of every word after the first capitalized. #camelCase. The first letter of every word, including the first is Pascal case: #PascalCase.

These are both terms of art in programming. Pascal case, in particular, comes from the Pascal programming language.

Title case is different in that minor words aren’t capitalized, and is used in literature (sort of, certainly not programming) for titles and headlines:

Netizens Discuss Capitalization in Pedantry Corner: Homo sapiens Mid-conversation Share

The above title confioms to the Chicago Manual of Style (whose title also conforms) by not capitalizing 4 of 11 words.

Now to make this useful: both camal case and Pascal case address the issue at hand; title case doesn’t, but the expression may be useful to communicate the idea of Pascal case to a general audience.

References:

learn.microsoft.com/en-us/dotn

en.wikipedia.org/wiki/Title_ca

diesUndDasMitTassen 🇺🇦Andreas_Sturm
2025-04-29

@Hippie ...nach einiger Recherche komme ich zu dem (immer noch unqualifizierzen) Schluss, daß für hashtags wohl besser ist. Es wird an verschiedenen Stellen argumentiert, daß der erste Buchstabe groß geschrieben für alle besser zu lesen ist. Und international scheint sich das bei latainischer Schrift durchzusetzen.

Durch Deinen trööt habe ich gerade gelernt, daß camelCase auch lowerCamelCase genannt wird und PascalCase auch UpperCamelCase - aaahhh 😵‍💫😂

@OskarImKeller @wurzelmann

diesUndDasMitTassen 🇺🇦Andreas_Sturm
2025-04-29

@Hippie Das klingt jetzt vielleicht zunächst etwas kleinlich, aber wenn auch der erste Buchstabe immer ein Großbuchstabe wäre, nennt man es (oder UpperCamelCase) bei (eigentlich LowerCamelCase) hingegen ist der erste Buchstabe immer klein. Finde ich wichtig, wenn man einen "Styleguide" verabschieden würde, schon bei der Definition präzise zu sein. Sonst ist das Ergebnis nachher uneinheitlich.
@OskarImKeller @wurzelmann

@Tarnport isn't that strictly speaking #PascalCase ?

Fribygdas Natteravn :fribygda:fribygda@fribygda.no
2025-02-22

Tips for bruk av emneknagger: skriv med #PascalCase eller #snake_case istedet for #altiett. Når en elektronisk leser skal lese opp emneknagger så kan ikke maskinen eller personen forstå hvordan ordet skal deles opp, siden de har ikke goden av å kunne lese hele ord i emneknaggene som sådan, men må lese de lineært, bokstav for bokstav.

De fleste av oss, personer som kan lese uten assistanse, leser hele ordet på en gangen, så for oss er det ikke alltid et problem.

2025-02-02

#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

2025-01-29

@jele ☝️🤓 du verwendest #PascalCase oder #UpperCamelCase, #camelCase könnte auch so sein 😉
@wetell

#DuckUndWeg

franklin 🏳️‍⚧ (girl's name)68km@retro.social
2025-01-26
b4ux1t3 :trek_ds9_sisko:#1️⃣b4ux1t3@hachyderm.io
2025-01-25

What thing bothers you a lot, but it's so petty and unimportant that you'd feel ridiculous "um, actually"ing people about it?

I'll start:

It's #PascalCase, mofos. #camelCase needs a head that's lower than it's humps.

2025-01-24

@jcsteh @joachim @juliette

Please DO capitalize the words within a hashtag.

camelCase and PascalCase are two very similar norms that allow words to be joined without hyphenation but distinguished by readers through capitalization of the first letters of words.

The difference is that Pascal Case requires the first letter of the first word to be capitalized but camel Case just insists on the following words. The two terms are often referred to without distinction here though.

Be aware that Mastodon autocomplete will offer up the first version created for a hashtag. So, it’s important to be careful to make sure a hashtag that you type isn’t autocompleted to a version without capitals.

#CamelCase #PascalCase #Accessibility #a11y

Marcus The Board Gamerlordsplodge@brettspiel.space
2025-01-22

This. Although I prefer #camelCase, having cut my teeth on Pascal in the 80s (Yes Gandalf, I was there 3000 years ago) I default to #PascalCase but please use one or the other in your #Hashtags disabled.social/@A11yAwareness

Joe Hill 🇵🇸🇺🇦Joe_Hill@union.place
2025-01-17

@alan
This just in: for the first time ever, Mastodon app didn’t try to “correct” my hashtag when I typed #PhonyStark. Typically, it would remove the caps. Finally. I’ve been asking for that change forever.
#PascalCase

Screen grab of the above post.
Enola Knezevicrhelune@todon.eu
2025-01-09

Should hashtags be #camelCase or #PascalCase?

Zivan - Childless Cat Guyzkrisher@tweesecake.social
2024-11-18

How not using pascal case or camel case can ruin your brand.

Because Bluesky is not written with a capital S, my screen reader pronounces it as Blueski. So it sounds like some Russian website.

Remember to capitalize combined words in cases where spaces are not allowed, like in HashTags, so screen reader users won't get confused.

#ScreenReader #accessibility #PascalCase #camelCase #blind #LowVision #BlueSky

Austin Huang ❤️austin@mstdn.party
2024-11-17

In response to the #hashtag casing issue, I've written a script for #MastoAdmin's to try to convert as many of them as possible to #PascalCase automatically:
codeberg.org/austinhuang/masto
Feedbacks & contributors welcome! (I'm still considering whether I should incorporate recent tagged posts to counter the computerized results.)

#accessibility #camelCase

Pasquale 📷 🇫🇷 🦻pasqualeberesti@piaille.fr
2024-11-17

@tsadiq j'utilise la version #camelCase comme monsieur Jourdain, mais comme je ne savais pas ce que c'était, j'ai regardé #Wikipedia qui mentionne les 2 variantes, selon l'usage de la personne qui l'emploie :

fr.wikipedia.org/wiki/Camel_ca

J'en déduis donc que #CamelCase et #camelCase se valent. Et #PascalCase est une variante aussi.

f♯ a♯ ∞tsadiq@rivals.space
2024-11-16

Je vois des gens se battre pour leur convictions à utiliser du camel case dans les hashtag, et qui mettent la première lettre en majuscule. J'essaye de rester diplomate mais c'est dur. #camelCase #PascalCase

2024-10-22

I’m very very short of sleep otherwise I would totally die on the hill marked
#PascalCase is not #camelCase

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst