Feature #20405
open
I like this proposal. But there are other possibilities, such as:
(: This is comment :)
That would just underline Ruby as a "happy" language. Of course variants such as (-: ... :-)
or even (o: ... :o)
could even extend the expressiveness of comments
vo.x (Vit Ondruch) wrote in #note-1:
I like this proposal. But there are other possibilities, such as:
(: This is comment :)
Thank you for the comment, but you may know (:
can conflict existing code.
The reason I selected (|
is that /:|)
is used as Matz's face (no beard version).
I think, unironically, this could be a nice addition. Maybe with a syntax closer to the current comments?
p #= This is a comment #= and nested one =# =# :| # => :|
This could be particularly useful for projects like rbs-inline
.
Also available in: Atom
PDF
Like3
Like0Like0Like0Like0