codeStyle

devilish666@lemmy.world to Programmer Humor@programming.dev – 147 points –
9

One advantage of snake case is never having to remember which letters of every acronym or compound word each author decided to capitalize.

I just like to treat acronyms/initialisms as normal words. sendHttpRequest, etc.

You already don't have to do that. That's what IDE's have autocomplete for.

That viewpoint makes bold assumptions about language, toolset, and preference.

It also suggests sweeping the dirt under the rug instead of not having it on the floor in the first place.

snake case for everything, pascal case for struct/enum/class/trait names, and screaming snake case for constexpr identifiers is the superior method of naming. FUCK camel case, java/c# naming conventions are dumb and stupid and cringe, rust did it right

i'm in pain every time i use scala/f# or something and i have to actually interact with those HEATHEN java/c#-conformist identifiers

screaming snake case

What a great name for that style. Thank you.

Apart from screaming case, which is for textual macros, i approve.

1 more...