fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

8.8K
active users

#pascalcase

0 posts0 participants0 posts today
Walrus 🏴󠁧󠁢󠁷󠁬󠁳󠁿<p><span class="h-card" translate="no"><a href="https://hachyderm.io/@crimperman" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>crimperman</span></a></span> </p><p>Hi.</p><p>It's called camel case because it has a hump in the middle. Like this - <a href="https://toot.wales/tags/camelCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>camelCase</span></a> </p><p>The one with a capital for each word is called <a href="https://toot.wales/tags/PascalCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PascalCase</span></a>, though Pascal itself doesn't enforce this, it's a Pascal programmers' convention.</p>
Delphine M.<p>Question aux personnes concernées et/ou expertes en accessibilité numérique :</p><p>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. </p><p>Est-ce toujours le cas ? <br>Edit: Oui</p><p>(Je découvre d'ailleurs sur Wikipedia que j'utilise surtout le "PascalCase" puisque je mets aussi une capitale au 1er mot.) </p><p><a href="https://framapiaf.org/tags/CamelCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CamelCase</span></a> <a href="https://framapiaf.org/tags/PascalCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PascalCase</span></a> <a href="https://framapiaf.org/tags/Accessibilit%C3%A9Num%C3%A9rique" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AccessibilitéNumérique</span></a> <a href="https://framapiaf.org/tags/LecteurD%C3%89cran" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LecteurDÉcran</span></a></p>
MostlyBlindGamer<p><span class="h-card" translate="no"><a href="https://lgbtqia.space/@h3mmy" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>h3mmy</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@rootsandcalluses" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>rootsandcalluses</span></a></span> is this the way to pedantry corner? Shall we head there together?</p><p>Camel case is the first letter of every word after the first capitalized. <a href="https://dragonscave.space/tags/camelCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>camelCase</span></a>. The first letter of every word, including the first is Pascal case: <a href="https://dragonscave.space/tags/PascalCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PascalCase</span></a>.</p><p>These are both terms of art in programming. Pascal case, in particular, comes from the Pascal programming language.</p><p>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:</p><p>Netizens Discuss Capitalization in Pedantry Corner: Homo sapiens Mid-conversation Share</p><p>The above title confioms to the Chicago Manual of Style (whose title also conforms) by not capitalizing 4 of 11 words.</p><p>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.</p><p>References:</p><p><a href="https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/capitalization-conventions" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">learn.microsoft.com/en-us/dotn</span><span class="invisible">et/standard/design-guidelines/capitalization-conventions</span></a></p><p><a href="https://en.wikipedia.org/wiki/Title_case" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">en.wikipedia.org/wiki/Title_ca</span><span class="invisible">se</span></a></p>
diesUndDasMitTassen 🇺🇦<p><span class="h-card" translate="no"><a href="https://ravenation.club/@Hippie" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>Hippie</span></a></span> ...nach einiger Recherche komme ich zu dem (immer noch unqualifizierzen) Schluss, daß <a href="https://mastodon.social/tags/PascalCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PascalCase</span></a> 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.</p><p>Durch Deinen trööt habe ich gerade gelernt, daß camelCase auch lowerCamelCase genannt wird und PascalCase auch UpperCamelCase - aaahhh 😵‍💫😂</p><p><span class="h-card" translate="no"><a href="https://fnordon.de/@OskarImKeller" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>OskarImKeller</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.wurzelmann.at/@wurzelmann" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>wurzelmann</span></a></span></p>
diesUndDasMitTassen 🇺🇦<p><span class="h-card" translate="no"><a href="https://ravenation.club/@Hippie" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>Hippie</span></a></span> Das klingt jetzt vielleicht zunächst etwas kleinlich, aber wenn auch der erste Buchstabe immer ein Großbuchstabe wäre, nennt man es <a href="https://mastodon.social/tags/PascalCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PascalCase</span></a> (oder UpperCamelCase) bei <a href="https://mastodon.social/tags/camelCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>camelCase</span></a> (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.<br><span class="h-card" translate="no"><a href="https://fnordon.de/@OskarImKeller" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>OskarImKeller</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.wurzelmann.at/@wurzelmann" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>wurzelmann</span></a></span></p>
Klepsis<p><span class="h-card" translate="no"><a href="https://mastodon.green/@Tarnport" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>Tarnport</span></a></span> isn't that strictly speaking <a href="https://indieauthors.social/tags/PascalCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PascalCase</span></a> ?</p>
barefootstache<p><a href="https://qoto.org/tags/TIL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TIL</span></a> that <a href="https://qoto.org/tags/SnakeCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SnakeCase</span></a> is a less frequently used tagging scheme on the <a href="https://qoto.org/tags/fediverse" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fediverse</span></a>. </p><p>This could be due to that some services break their internal tagging schema, e.g. <a href="https://qoto.org/tags/Minds" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Minds</span></a> doesn't work well with <a href="https://qoto.org/tags/KebabCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>KebabCase</span></a>. </p><p>Or it could be due to the laziness of the users and subjectively arguing that <a href="https://qoto.org/tags/snake_case" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>snake_case</span></a> doesn't add to the readability of <a href="https://qoto.org/tags/PascalCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PascalCase</span></a> or <a href="https://qoto.org/tags/camelCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>camelCase</span></a> tags. </p><p>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. </p><p>Or if the the underscore replaces a different character other than space like slash, pipe, hyphen, etc. </p><p>And in AReallyLongTag / a_really_long_tag it could aid readability.</p><p>Thus if one wants grouping and discoverability of posts while creating a brand identity consider using snake_case tags.</p><p><a href="https://qoto.org/tags/mastodon" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mastodon</span></a> <a href="https://qoto.org/tags/ActivityPub" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ActivityPub</span></a> <a href="https://qoto.org/tags/friendica" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>friendica</span></a> <a href="https://qoto.org/tags/pixelfed" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pixelfed</span></a></p>
Nick :pirat:<p><span class="h-card" translate="no"><a href="https://fedifreu.de/@jele" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>jele</span></a></span> ☝️🤓 du verwendest <a href="https://piraten-partei.social/tags/PascalCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PascalCase</span></a> oder <a href="https://piraten-partei.social/tags/UpperCamelCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UpperCamelCase</span></a>, <a href="https://piraten-partei.social/tags/camelCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>camelCase</span></a> könnte auch so sein 😉 <br><span class="h-card" translate="no"><a href="https://digitalcourage.social/@wetell" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>wetell</span></a></span> </p><p><a href="https://piraten-partei.social/tags/DuckUndWeg" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DuckUndWeg</span></a></p>
franklin 🏳️‍⚧ (girl's name)<p>it's a <a href="https://retro.social/tags/ChumbaWambaMorning" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ChumbaWambaMorning</span></a> <a href="https://retro.social/tags/CamelCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CamelCase</span></a> <a href="https://retro.social/tags/pascalCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pascalCase</span></a></p>
b4ux1t3 :trek_ds9_sisko:#1️⃣<p>What thing bothers you a lot, but it's so petty and unimportant that you'd feel ridiculous "um, actually"ing people about it?</p><p>I'll start:</p><p>It's <a href="https://hachyderm.io/tags/PascalCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PascalCase</span></a>, mofos. <a href="https://hachyderm.io/tags/camelCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>camelCase</span></a> needs a head that's lower than it's humps.</p>
AlsoPaisleyCat<p><span class="h-card" translate="no"><a href="https://aus.social/@jcsteh" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>jcsteh</span></a></span> <span class="h-card" translate="no"><a href="https://boitam.eu/@joachim" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>joachim</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.green/@juliette" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>juliette</span></a></span> </p><p>Please DO capitalize the words within a hashtag.</p><p>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.</p><p>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.</p><p>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.</p><p><a href="https://tenforward.social/tags/CamelCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CamelCase</span></a> <a href="https://tenforward.social/tags/PascalCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PascalCase</span></a> <a href="https://tenforward.social/tags/Accessibility" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Accessibility</span></a> <a href="https://tenforward.social/tags/a11y" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>a11y</span></a></p>
Marcus The Board Gamer<p>This. Although I prefer <a href="https://brettspiel.space/tags/camelCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>camelCase</span></a>, having cut my teeth on Pascal in the 80s (Yes Gandalf, I was there 3000 years ago) I default to <a href="https://brettspiel.space/tags/PascalCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PascalCase</span></a> but please use one or the other in your <a href="https://brettspiel.space/tags/Hashtags" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Hashtags</span></a> <a href="https://disabled.social/@A11yAwareness/113863862564354935" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">disabled.social/@A11yAwareness</span><span class="invisible">/113863862564354935</span></a></p>
Joe Hill 🇵🇸🇺🇦<p><span class="h-card" translate="no"><a href="https://mindly.social/@alan" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>alan</span></a></span> <br>This just in: for the first time ever, Mastodon app didn’t try to “correct” my hashtag when I typed <a href="https://union.place/tags/PhonyStark" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PhonyStark</span></a>. Typically, it would remove the caps. Finally. I’ve been asking for that change forever. <br><a href="https://union.place/tags/PascalCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PascalCase</span></a></p>
Enola Knezevic<p>Should hashtags be <a href="https://todon.eu/tags/camelCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>camelCase</span></a> or <a href="https://todon.eu/tags/PascalCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PascalCase</span></a>?</p>
Erik<p>Lol good case for <a href="https://dice.camp/tags/CamelCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CamelCase</span></a> <a href="https://dice.camp/tags/PascalCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PascalCase</span></a> </p><p>Live ginger Germany? Wut?</p><p><a href="https://climatejustice.social/@JdeB/113645808320767487" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">climatejustice.social/@JdeB/11</span><span class="invisible">3645808320767487</span></a></p>
Zivan - Childless Cat Guy<p>How not using pascal case or camel case can ruin your brand. </p><p>Because Bluesky is not written with a capital S, my screen reader pronounces it as Blueski. So it sounds like some Russian website. </p><p>Remember to capitalize combined words in cases where spaces are not allowed, like in HashTags, so screen reader users won't get confused. </p><p><a href="https://tweesecake.social/tags/ScreenReader" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ScreenReader</span></a> <a href="https://tweesecake.social/tags/accessibility" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>accessibility</span></a> <a href="https://tweesecake.social/tags/PascalCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PascalCase</span></a> <a href="https://tweesecake.social/tags/camelCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>camelCase</span></a> <a href="https://tweesecake.social/tags/blind" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>blind</span></a> <a href="https://tweesecake.social/tags/LowVision" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LowVision</span></a> <a href="https://tweesecake.social/tags/BlueSky" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BlueSky</span></a></p>
Austin Huang ❤️<p>In response to the <a href="https://mstdn.party/tags/hashtag" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hashtag</span></a> casing issue, I've written a script for <a href="https://mstdn.party/tags/MastoAdmin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MastoAdmin</span></a>'s to try to convert as many of them as possible to <a href="https://mstdn.party/tags/PascalCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PascalCase</span></a> automatically:<br><a href="https://codeberg.org/austinhuang/mastodon-tag-case-corrector" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">codeberg.org/austinhuang/masto</span><span class="invisible">don-tag-case-corrector</span></a><br>Feedbacks &amp; contributors welcome! (I'm still considering whether I should incorporate recent tagged posts to counter the computerized results.)</p><p><a href="https://mstdn.party/tags/accessibility" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>accessibility</span></a> <a href="https://mstdn.party/tags/camelCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>camelCase</span></a></p>
Pasquale 📷 🇫🇷 🦻<p><span class="h-card" translate="no"><a href="https://rivals.space/@tsadiq" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>tsadiq</span></a></span> j'utilise la version <a href="https://piaille.fr/tags/camelCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>camelCase</span></a> comme monsieur Jourdain, mais comme je ne savais pas ce que c'était, j'ai regardé <a href="https://piaille.fr/tags/Wikipedia" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Wikipedia</span></a> qui mentionne les 2 variantes, selon l'usage de la personne qui l'emploie :</p><p><a href="https://fr.wikipedia.org/wiki/Camel_case" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">fr.wikipedia.org/wiki/Camel_ca</span><span class="invisible">se</span></a></p><p>J'en déduis donc que <a href="https://piaille.fr/tags/CamelCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CamelCase</span></a> et <a href="https://piaille.fr/tags/camelCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>camelCase</span></a> se valent. Et <a href="https://piaille.fr/tags/PascalCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PascalCase</span></a> est une variante aussi.</p>
f♯ a♯ ∞<p>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. <a href="https://rivals.space/tags/camelCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>camelCase</span></a> <a href="https://rivals.space/tags/PascalCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PascalCase</span></a></p>
Martin Howitt<p>I’m very very short of sleep otherwise I would totally die on the hill marked<br>“<a href="https://urbanists.social/tags/PascalCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PascalCase</span></a> is not <a href="https://urbanists.social/tags/camelCase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>camelCase</span></a>”</p>