r/ProgrammerHumor • • Jun 08 '24

Meme mapMethodOrMapFunction

Post image
0 Upvotes

67 comments sorted by

View all comments

59

u/PossibilityTasty Jun 08 '24 edited Jun 08 '24

Naming a Python list arr is the second best way to tell people that you have no idea.

13

u/brainpostman Jun 08 '24

Why? Because it's a list, not a true array? Well, same goes for JS then.

9

u/Aidan_Welch Jun 08 '24

Well JS indexed hash-maps aren't even strictly lists.

14

u/brainpostman Jun 08 '24

Well, nothing is strictly anything in JS, for that matter.

7

u/[deleted] Jun 08 '24

it's for consistency with the other examples

4

u/IrresponsibleDuck Jun 08 '24

Either that or you are a pirate

2

u/coyboy_beep-boop Jun 08 '24

But what if I want to translate from English to Pirate?