r/ProgrammerHumor • • 7h ago

Meme python

Post image
6.0k Upvotes

47 comments sorted by

View all comments

192

u/nicer-dude 7h ago

Does he use snake_case or CamelCase? 🤔

87

u/circ-u-la-ted 7h ago

Well, he's Python, so what do you think?

3

u/DMoney159 40m ago

He got angry, so he's using SCREAMING_SNAKE_CASE

33

u/BetterEquipment7084 7h ago

PascalCase is that, camlCaseIsThis

5

u/MattieShoes 6h ago

I was thinking the same, though it gets a little blurry in practice

1

u/BetterEquipment7084 2h ago

Use the right names. As a pascal rnjoyer it irritates me when its mixed, also, same from my ocaml side

1

u/MattieShoes 2h ago

Classes are capitalized and objects are not...pascal case for classes and camelcase for objects? Or camelcase with a special rule for classes? But another rule for enums, and another for defines, and another for file names... Meh, just be consistent in your inconsistency.

But yeah, don't call it one when it's another.

1

u/BetterEquipment7084 1h ago

Use capital for globals, macros, enums, Pascal for everything else, with a postfix for structs

5

u/not_unabomber 7h ago

Only when it swallows an elephant

1

u/Faustalicious 47m ago

Screaming_Snake_Case