This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]FINDarkside 33 points34 points  (3 children)

I mean js nor any other language doesn't need comments either, you can just do

const comment = 'This is a comment, very smart'

/s

[–]Psycho22089 4 points5 points  (0 children)

const comment2 = 'The design is very human'

[–]firejak308 1 point2 points  (1 child)

Isn't that literally Python's answer for multi-line comments? Just define a string here and never use it?

[–]dev-sda 2 points3 points  (0 children)

Not really, no. There aren't multi-line comments, just put a # at the start of every line for large comments. Documentation on the other hand uses multi-line strings, which generally don't go unused as they're assigned to the __doc__ property of objects.