149
codeStyle (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] force@lemmy.world 4 points 8 months ago* (last edited 8 months ago)

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

[-] mox@lemmy.sdf.org 18 points 8 months ago

screaming snake case

What a great name for that style. Thank you.

[-] GeniusIsme@lemmy.world 3 points 8 months ago

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

this post was submitted on 01 Mar 2024
149 points (87.4% liked)

Programmer Humor

19551 readers
1023 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS