#snake_case — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #snake_case, aggregated by home.social.
-
-
Эта музыка будет вечной: микросервисы против монолита, camelCase против snake_case и другие неугасающие споры в ИТ
В любой сфере деятельности найдутся неоднозначные решения, время от времени заставляющие полыхнуть ту или иную часть интернета. Разумеется, такие «вечнозеленые споры» есть и в ИТ, и сегодня мы в
https://habr.com/ru/companies/beeline_cloud/articles/976248/
#beeline_cloud #итспоры #иттренды #camelCase #snake_case #low_code #микросервисы
-
[Перевод] PEP 8 как религия: почему Python сам не соблюдает свои же правила
Команда Python for Devs подготовила перевод статьи о PEP 8. Мысль проста: споры о стиле в Python часто сводятся к одному — snake_case против camelCase. Даже сам Python не следует своим же правилам. Так стоит ли вообще относиться к PEP 8 как к догме?
https://habr.com/ru/articles/953412/
#Python #PEP8 #стиль_кода #читаемость #snake_case #camelCase #закон_Свейгарта #правила #разработчики #open_source
-
ok since hashtags are actually useful around here
and this place seems to have a culture of accessibility
please remember to camelCase or PascalCase your tags to make them human, and screen reader, readable
#camelCase #PascalCase #kebab-case (hashtag kebab, dash case, lol. kebab case does not work for hashtags) #snake_case #accessibility #AltText
-
@rootsandcalluses My only problem with #camelCase is what to do with something like #BestCSSPractices; that’s where #kebab-case or #snake_case works better.
-
#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.
-
-
@sascha Es gibt auch Leute, die Hashtags mit Unterstrichen schreiben: #snake_case
-
Рецепты TypeScript: перевод ключей объекта в camelCase
Всем привет! С вами снова Костя Логиновских — ведущий разработчик Смотреть рецепт
-
@foon @purinkle Does #snake_case also address accessibility concerns while maintaining the lowercase aesthetic?
-
#snake_case,
#kebap-case,
#camelCase, and
#PascalCase(1/n)
" I wish all apps made all hashtags pascal case! "
Thanks for sharing this introspective, Robert.
Me, too. In fact, it makes long hashtags more easily readable for "sighted people" as well. ;) It is quite a bit more work, alas, in particular, as my apps try suggesting (and auto-replacing) previously used #Hashtags with all small letters, which I then have to... -
@0x00string @inherentlee R has a package called "janitor" that, among other things, can convert random strings in the column headers of a table to well-formed #snake_case strings.
-
Testing weird #hashtags for the Bridgy bridge 🌉 #snake_case #kebab-case #ŻółtaŁódźPodwodna #ДобрийВечір #trolo🧌lolo #🦀 #ILoveJavascript❤️🤪 -
Hey #dotnet friends using System.Text.Json ✋
Has anyone managed to create code that uses source generators but for snake_case naming policy?
I notice I can not pass anywhere the serializer options when I specify using the source generator, and then I can not pass the snake_case naming policy?
Any help please, repost for reach?
#csharp #aspnet #aspdotnet #serialization #json #snake_case #jsonserializer #sourcegenerators #systemtextjson
-
One of my frailties, as a #programmer, is my low tolerance for the #snake_case, despite having programmed in C for more than four decades. Oddly, when I'm using LISP, I have no qualms with its #kebab-case! But my preferred style has always been Smalltalk's #camelCase.
Nim is the only modern language that I know that automatically converts between camel case and snake case, allowing the programmer to use whichever style he fancies.
Language designers should take note.
-
Hashtags would be a lot more legible if we used #snake_case instead of #PascalCase.
-
The case of a variable name `Num_sequences` is a firing offence, to start with... 😜
-
2/4
i.e. your post won't show up in a search of a hashtag that wasn't in the original post. So if you realise there are some relevant hashtags you should add to a post, then you will actually need to make that post again from scratch in order for it to show up in searches!In regards to #readability #accessibility you should always use #PascalCase (every word starts with a capital) or #camelCase (first word lower-case, then capitals for subsequent words). Don't use #snake_case (underscores)...
-
#snake_case can work but will be treated differently from #snakeCase because it's a different #. I think. Let's see!
ETA: yup # TestTest did not find this post.
-
@Texan_Reverend fun fact #snake_case (using underscores instead of spaces) is not used in hashtags but in programing and is called that bc of the programming language python. It's my least favourite all one word convention T-T
-
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.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.
-
@VulpineAmethyst #snake_case #hashtags work too (and even let you capitalize proper names). 😉
-
@bignose #snake_case also says hi! 🐍 (though hopefully staying out of it?)
-
I've seen both recommended on here -- which is best for #accessibility on Mastodon hashtags, #camelCase or #PascalCase ? Probably not #snake_case
-
Wondering if we can start a #snake_case vs #CamelCase hashtag war!