I_think_case_sensitive_snake_case_naming_convention_makes_sense,_and_I_occasionally_use_this_format_for_filenames.

I_think_it_deserves_its_own_descriptive_name_just_as_much_as_SCREAMING_SNAKE_CASE_does.

How_about_glutton_snake_case?

Like_when_a_snake_swallows_critters_whole,_and_those_bulges_in_their_stomach_remain_visible_during_digestion.

#Snake_case #SnakeCase #Glutton_snake_case #GluttonSnakeCase

I was today years old when I learned the term "kebab case"

#programming #case #naming #camelcase #snakecase #kebabcase #variables #developers #tech

#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

There's #CamelCase, and there's #SnakeCase. But what about making a semantic distinction by convention between camel case and snake case, like using snake case for value-y types and functions and camel case for reference-y types and procedures? How cursed is this?
not cursed
0%
mildly cursed
0%
moderately cursed
100%
severely cursed
0%
Poll ended at .

Oh heck!

๐Ÿฆ€ A case conversion library for Rust.

๐Ÿ“š Docs: https://docs.rs/heck

โญ GitHub: https://github.com/withoutboats/heck

#rustlang #case #conversion #library #kebabcase #snakecase #opensource

heck - Rust

heck is a case conversion library.

camelCase
40%
snake_case
60%
kebab-case
0%
PascalCase
0%
Poll ended at .

@ChristosArgyrop

The case of a variable name `Num_sequences` is a firing offence, to start with... ๐Ÿ˜œ

#snake_case #SnakeCase #CamelCase #camel_case

@sundew @meredith

#snake_case can work but will be treated differently from #snakeCase because it's a different #. I think. Let's see!

#Test_Test

ETA: yup # TestTest did not find this post.

@krisnelson I friggin love camel case. Or maybe its snake case? Does #snakeCase work?