mastouille.fr est l'un des nombreux serveurs Mastodon indépendants que vous pouvez utiliser pour participer au fédiverse.
Mastouille est une instance Mastodon durable, ouverte, et hébergée en France.

Administré par :

Statistiques du serveur :

642
comptes actifs

#camelcase

0 message0 participant0 message aujourd’hui

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.)

A répondu dans un fil de discussion

@angelastella

It's fine for code but also (a) harder to explain/teach, (b) harder to automate, (c) badly supported on Mastodon (incremental search usually smashes case).

I think Mastodon has gotten better at preserving #CamelCase in hashtags. #GoToSocial is working on it, it's still really bad right now (always flattening/tolower()-ing).

I can see being a bit harder to explain/teach, although I'm not sure what cases of automation you're referring to.

I guess my main thing (and perhaps it's a silly one) is that _ is harder to reach than just capitalizing (and not spacing out) the next word. XD

I have no issues with Pascal (Borland's implementations and docs were excellent), but I had to learn C immediately afterwards like everyone else.

I used Borland on the PC and Symantec/THINK on the Mac. Both absolutely lovely.
Symantec Pascal on the (emulated) mac was actually a stepping stone towards @neaoire@merveilles.town's development of #uxn, IIRC. They even developed a 3d game in Pascal on the Mac (heavily accelerated, of course)

A répondu dans un fil de discussion

@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

learn.microsoft.comCapitalization Conventions - Framework Design GuidelinesApply capitalization conventions for identifiers, compound words, and common terms. Understand how case sensitivity works in .NET.

@_elena @dmoonfire

I want to say Mastodon has gotten better at this, but if you're writing a hashtag in #CamelCase and the prevalent usage of that hashtag isn't camelcased, then it will probably get overwritten by your client's "suggestion."

You just have to be extra vigilant about avoiding the bad autocorrect. :(

It's very annoying, especially when the camelcase could happen kind of automatically using a simple dictionary.

Suite du fil

'I don’t think an opinion adhering to institutional conventions can be considered an “unpopular take.” Positioning it as unpopular masks a common opinion as marginalised. This type of perception skewing is reminiscent of Christian conservatives claiming God-fearing values are under attack despite Christianity dominating every echelon of American society.'

Inigo Laguda on language and grammar: yoursinigo.com/p/better-than-y

@writing @sociology

Yours, Inigo · the liar's languagePar Inigo Laguda