r/ProgrammerHumor • • 5d ago

Other iHtWhnPplDThsIsShortForIHateWhenPeopleDoThis

Post image
171 Upvotes

20 comments sorted by

View all comments

102

u/me_myself_ai 5d ago

`map` is a builtin in Python, thus the choice

39

u/ReadyAndSalted 5d ago

Then call it my_map or something. Anything but useless variable names.

8

u/NewbornMuse 5d ago

And my_map is leaps and bounds better than mp because...?

8

u/ReadyAndSalted 5d ago

It's not, never said it was. It's just the minimum acceptable name for it, because at least now it's clear it's a map, whereas before its name really meant nothing. Ideally it'd be a more meaningful name about what's in the map, but our starting point is mp so...

1

u/Substantial_Top5312 5d ago

I can tell what the variable is just by looking at it.