From: "vo.x (Vit Ondruch) via ruby-core" <ruby-core@...> Date: 2024-04-01T08:41:49+00:00 Subject: [ruby-core:117395] [Ruby master Feature#20405] Inline comments Issue #20405 has been updated by vo.x (Vit Ondruch). 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 ---------------------------------------- Feature #20405: Inline comments https://bugs.ruby-lang.org/issues/20405#change-107555 * Author: nobu (Nobuyoshi Nakada) * Status: Open ---------------------------------------- I propose a new inline comment syntax. ```ruby p (| This is a comment (| and nested one |) /:|) (:|) #=> :| ``` -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/