home.social

#snake_case — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #snake_case, aggregated by home.social.

  1. Эта музыка будет вечной: микросервисы против монолита, camelCase против snake_case и другие неугасающие споры в ИТ

    В любой сфере деятельности найдутся неоднозначные решения, время от времени заставляющие полыхнуть ту или иную часть интернета. Разумеется, такие «вечнозеленые споры» есть и в ИТ, и сегодня мы в

    habr.com/ru/companies/beeline_

    #beeline_cloud #итспоры #иттренды #camelCase #snake_case #low_code #микросервисы

  2. [Перевод] PEP 8 как религия: почему Python сам не соблюдает свои же правила

    Команда Python for Devs подготовила перевод статьи о PEP 8. Мысль проста: споры о стиле в Python часто сводятся к одному — snake_case против camelCase. Даже сам Python не следует своим же правилам. Так стоит ли вообще относиться к PEP 8 как к догме?

    habr.com/ru/articles/953412/

    #Python #PEP8 #стиль_кода #читаемость #snake_case #camelCase #закон_Свейгарта #правила #разработчики #open_source

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

    more info: freecodecamp.org/news/snake-ca

    #camelCase #PascalCase #kebab-case (hashtag kebab, dash case, lol. kebab case does not work for hashtags) #snake_case #accessibility #AltText

  4. #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

  5. Рецепты TypeScript: перевод ключей объекта в camelCase

    Всем привет! С вами снова Костя Логиновских — ведущий разработчик Смотреть рецепт

    habr.com/ru/companies/cloud_ru

    #typescript #camelcase #snake_case #infer

  6. @weirdwriter

    #Inclusion and #Programming

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

    @MoiraEve @elan @jamesbritt

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