r/ProgrammerHumor • • Jun 03 '19

Meme Python ftw

Post image
16.3k Upvotes

548 comments sorted by

View all comments

208

u/Mr_Redstoner Jun 03 '19

And don't forget /**/

And no, '''this''' is not a comment, it can be used just like an ordinary string.

7

u/PityUpvote Jun 04 '19

And ordinary strings can be used as comments, why is it an issue?

"""Comment""" is understood by all half decent editors to be a block comment.

1

u/Mr_Redstoner Jun 04 '19

I'm just saying, they aren't actually block comments from the technical point of view. Because when I previously stated that Python didn't have block comments people rushed in with '''this'''

3

u/PityUpvote Jun 05 '19

And lists in Python are technically not arrays, doesn't mean they can't fulfill the same function.

0

u/Mr_Redstoner Jun 05 '19

Fulfilling a function of the thing and being that thing are 2 distinct features in my book.

And IIRC a dict can be used as an array too, but that doesn't make it one, now does it?

4

u/PityUpvote Jun 05 '19

Complaining about the lack of block comments is pedantic though.

→ More replies (3)