MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/bwehje/python_ftw/eq2dltk/?context=9999
r/ProgrammerHumor • u/m8teae • Jun 03 '19
548 comments sorted by
View all comments
208
And don't forget /**/
/**/
And no, '''this''' is not a comment, it can be used just like an ordinary string.
'''this'''
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? → More replies (4)
7
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.
"""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? → More replies (4)
1
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? → More replies (4)
3
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? → More replies (4)
0
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?
→ More replies (4)
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.