[ruby-core:94971] [Ruby master Bug#16114] Naming of "beginless range"

From: joshua.goodall@...
Date: 2019-09-19 05:56:37 UTC
List: ruby-core #94971
Issue #16114 has been updated by inopinatus (Joshua GOODALL).


I hope this discussion leads to Ruby having Ranges congruent to all the mathematical intervals.

Today we have right-unbounded ranges, and left-unbounded ranges, and right-closed ranges, and left-closed ranges, and right-open ranges -- but no left-open ranges.

This is strange to me. It is like having the <, <=, >= operators, and forgetting >.

I think "beginningless" might be cumbersome. I would smile if the term "bottomless" was adopted.


----------------------------------------
Bug #16114: Naming of "beginless range"
https://bugs.ruby-lang.org/issues/16114#change-81588

* Author: pwim (Paul McMahon)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
#14799 introduces a "beginless range" to complement the already existing "endless range".  However, "beginless" isn't an existing word in English. Since the term for something without a beginning is "beginingless", I'd propose renaming "beginless range" to "beginningless range". 



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next