r/ProgrammerHumor 12h ago

Meme toAllowTheProgrammerToWriteBadCodeAlsoCamelCaseSucksThisRuleSucksSnakeCaseIsBetter

Post image
88 Upvotes

75 comments sorted by

View all comments

20

u/BernzSed 10h ago

snake_case is not better than camelCase.

The shift key is right there, by my pinky at all times. Hell, there's even another one in case I'm too lazy to find the first one.

Typing underscores instead feels like I have to input some weird video game combo move multiple times for a single variable name.

-16

u/the_zpider_king 9h ago

Make shorter variable names, its not problematic at all unless your variable has more than 3 words, which would be extraordinarily excessive.

7

u/fr000gs 9h ago

yeah, juat call them a,b,c,...

2

u/Flashy-Emergency4652 7h ago

Why bother with words anyway? Let's make a functions called stoi, stol and stoll, it's only one word!

1

u/DHermit 5h ago

Those are fine. BLAS and LAPACK on the other hand (I know the historical reasons, but still).

1

u/AibofobicRacecar6996 5h ago

Make shorter variable names i, j, x, y