Actions
Feature #17640
closedallow // for comments
Status:
Rejected
Assignee:
-
Target version:
-
Description
- ruby uses '#' for comments (from the sh heritage)
- js and css use '//' for comments (from the C++ heritage)
I'd like to discuss,
to allow '//' in ruby code for comments
Motivation:
- writing comments is good
- it's cumbersome to adapt the comments to the language currrently active
Impact:
Please check:
- '//' is not a token in ruby?
- there is no way to make a legal expression involving '//'?
- oops ... the empty regexp literal is //
This is where the things get complicated
in terms of full backwards compatibility.
But I think that can be done.
'//i' is a legal expression,
while '// i' never was?
Anyways, I just want to put this on for a first discussion.
Actions
Like0
Like0Like0