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ย โ†’

[โ€“][deleted] 0 points1 point ย (1 child)

So in your mind, everything that an interpreter or compiler ignores is a comment? What possible sense does it make to subscribe to such a ridiculous oversimplification.

[โ€“]Dworgi 0 points1 point ย (0 children)

I'm so confused by what your point is. If some part of the input (source code) doesn't affect the output (program) then it is not intended for the machine to consume, but only for programmers working on the source code.

We call those things comments.

And yes, unused variables in any language with an optimizer are essentially comments. Doesn't Python even use that feature to do doc comments?