ruby-dev (Japanese) list archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-dev:51002] 直後の改行を無視する命令(......)
@ 2021-01-30  4:06 服部-
  0 siblings, 0 replies; only message in thread
From: 服部- @ 2021-01-30  4:06 UTC (permalink / raw)
  To: ruby-dev

[-- Attachment #1: Type: text/plain, Size: 540 bytes --]

改行を無視する命令、今 \(\n) となっている命令についてです。 ...... を提案します。

(0... ......
  5).each ......
  .map{_1} ...... # some comments
  => ar
    # (0...5).each.map{_1} => ar


(1) 本当は ... が一番良いと思います。しかし Range で使われています。
(2) 一番良いのが使えないなら長くしよう。 ......
(3) 実際に使うのなら .... が妥当?
(4) .... と ...... の両方作っちゃえ。

私は実験的に (2) を希望します。

[-- Attachment #2: Type: text/html, Size: 875 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-30  4:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-30  4:06 [ruby-dev:51002] 直後の改行を無視する命令(......) 服部-

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).