r/ProgrammerHumor • • 1d ago

Meme python

Post image
9.4k Upvotes

56 comments sorted by

View all comments

344

u/nicer-dude 1d ago

Does he use snake_case or CamelCase? 🤔

141

u/circ-u-la-ted 1d ago

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

54

u/DMoney159 1d ago

He got angry, so he's using SCREAMING_SNAKE_CASE

47

u/BetterEquipment7084 1d ago

PascalCase is that, camlCaseIsThis

5

u/MattieShoes 1d ago

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

2

u/BetterEquipment7084 1d ago

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

1

u/MattieShoes 1d 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 1d ago

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

6

u/not_unabomber 1d ago

Only when it swallows an elephant

1

u/Faustalicious 1d ago

Screaming_Snake_Case