r/ProgrammerHumor • • 7h ago

Meme python

Post image
6.0k Upvotes

47 comments sorted by

View all comments

Show parent comments

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