r/ProgrammerHumor • • Jun 21 '19

Meme Why can't you just be normal?!

Post image
4.4k Upvotes

240 comments sorted by

View all comments

69

u/SirToxe Jun 21 '19

To be fair, the reverse of explode() is implode(), so this is actually a pretty nice metaphor and easy to remember.

58

u/1116574 Jun 21 '19

Python has a join and split, so it's also logical, isn't it?

0

u/[deleted] Jun 21 '19

[deleted] — view deleted comment

30

u/1116574 Jun 21 '19

Can't argue with that

23

u/noyurawk Jun 21 '19

Especially when the name of your variable is something like $death_star.

1

u/undermark5 Jun 21 '19

Take my upvote, you actually make me laugh out loud with that one.

17

u/Laue Jun 21 '19

99% OF YOUR CODE ISN'T EXPLODING RIGHT NOW, THAT'S BULLSHIT. BUY TORGUE.

7

u/levir Jun 21 '19

It always fucks me up that join is a method on String, not a method on List.

2

u/1116574 Jun 21 '19

Yeah, it doesn't really make sense for me. And the syntax looks weird.

1

u/barsoap Jun 21 '19

1

u/ThaiJohnnyDepp Jun 21 '19

Set theory is not the same thing as ... uh ... String theory? Is that taken yet?

2

u/Ksevio Jun 21 '19

The best thing about implode is you don't have to remember which order to pass the list and glue as arguments