Project

General

Profile

Actions

Feature #17597

closed

直後の改行を無視する命令(......)

Added by Anonymous about 3 years ago. Updated about 3 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-dev:51002]

Description

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

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

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

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

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

Updated by sawa (Tsuyoshi Sawada) about 3 years ago

This is a duplicate of #17598 (or, the other way around).

Actions #2

Updated by hsbt (Hiroshi SHIBATA) about 3 years ago

  • Status changed from Open to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0