ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:94465] [Ruby master Bug#16114] Naming of "beginless range"
       [not found] <redmine.issue-16114.20190821233444@ruby-lang.org>
@ 2019-08-21 23:34 ` paul
  2019-08-21 23:58 ` [ruby-core:94466] " muraken
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: paul @ 2019-08-21 23:34 UTC (permalink / raw)
  To: ruby-core

Issue #16114 has been reported by pwim (Paul McMahon).

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

* 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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:94466] [Ruby master Bug#16114] Naming of "beginless range"
       [not found] <redmine.issue-16114.20190821233444@ruby-lang.org>
  2019-08-21 23:34 ` [ruby-core:94465] [Ruby master Bug#16114] Naming of "beginless range" paul
@ 2019-08-21 23:58 ` muraken
  2019-08-22  0:01 ` [ruby-core:94467] " mame
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: muraken @ 2019-08-21 23:58 UTC (permalink / raw)
  To: ruby-core

Issue #16114 has been updated by mrkn (Kenta Murata).


Other candidates from mathematics:

- a range bounded below
- lower-unbounded range
- left-unbounded range

If we use "unbounded" for the minimum value of a range, we should rephrase "endless" with the following candidates:

- a range bounded above
- upper-unbounded range
- right-unbounded range

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

* 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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:94467] [Ruby master Bug#16114] Naming of "beginless range"
       [not found] <redmine.issue-16114.20190821233444@ruby-lang.org>
  2019-08-21 23:34 ` [ruby-core:94465] [Ruby master Bug#16114] Naming of "beginless range" paul
  2019-08-21 23:58 ` [ruby-core:94466] " muraken
@ 2019-08-22  0:01 ` mame
  2019-08-22  3:49 ` [ruby-core:94472] " duerst
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: mame @ 2019-08-22  0:01 UTC (permalink / raw)
  To: ruby-core

Issue #16114 has been updated by mame (Yusuke Endoh).


I know that it is an awkward word, but it came from `Range#begin` and `Range#end`.  IMO, you can call it as you like.

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

* 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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:94472] [Ruby master Bug#16114] Naming of "beginless range"
       [not found] <redmine.issue-16114.20190821233444@ruby-lang.org>
                   ` (2 preceding siblings ...)
  2019-08-22  0:01 ` [ruby-core:94467] " mame
@ 2019-08-22  3:49 ` duerst
  2019-08-22  4:58 ` [ruby-core:94473] " muraken
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: duerst @ 2019-08-22  3:49 UTC (permalink / raw)
  To: ruby-core

Issue #16114 has been updated by duerst (Martin Dürst).


mrkn (Kenta Murata) wrote:
> Other candidates from mathematics:
> 
> - a range bounded below

Shouldn't this be "a range not bounded below"?

> - lower-unbounded range
> - left-unbounded range
> 
> If we use "unbounded" for the minimum value of a range, we should rephrase "endless" with the following candidates:
> 
> - a range bounded above

Same thing here.


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

* 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>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:94473] [Ruby master Bug#16114] Naming of "beginless range"
       [not found] <redmine.issue-16114.20190821233444@ruby-lang.org>
                   ` (3 preceding siblings ...)
  2019-08-22  3:49 ` [ruby-core:94472] " duerst
@ 2019-08-22  4:58 ` muraken
  2019-08-22  8:04 ` [ruby-core:94476] " shevegen
  2019-09-19  5:56 ` [ruby-core:94971] " joshua.goodall
  6 siblings, 0 replies; 7+ messages in thread
From: muraken @ 2019-08-22  4:58 UTC (permalink / raw)
  To: ruby-core

Issue #16114 has been updated by mrkn (Kenta Murata).


duerst (Martin Dürst) wrote:
> mrkn (Kenta Murata) wrote:
> > Other candidates from mathematics:
> > 
> > - a range bounded below
> 
> Shouldn't this be "a range not bounded below"?

Oops!  The correct candidates are "a range unbounded below" and "a range unbounded above".

Thanks.


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

* 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>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:94476] [Ruby master Bug#16114] Naming of "beginless range"
       [not found] <redmine.issue-16114.20190821233444@ruby-lang.org>
                   ` (4 preceding siblings ...)
  2019-08-22  4:58 ` [ruby-core:94473] " muraken
@ 2019-08-22  8:04 ` shevegen
  2019-09-19  5:56 ` [ruby-core:94971] " joshua.goodall
  6 siblings, 0 replies; 7+ messages in thread
From: shevegen @ 2019-08-22  8:04 UTC (permalink / raw)
  To: ruby-core

Issue #16114 has been updated by shevegen (Robert A. Heiler).


This shows that there are only two real problems in computer science:

- Giving things proper names
- Documenting code after the code has been written
- Off by one errors

:P

From the candidates, I somewhat like mrkn's suggestion here:

lower-unbounded range

I am not sure if it is an ideal candidate, but to me it conveys
a similar meaning as "beginless", in that it refers to the 
"lower" area of a range - well, the part where it all begins. :P

(You can also use left/right, but I think if we only compare
lower/upper to left/right, to me lower/upper makes a bit more 
sense than left/right, within this context.)

Note that I find "beginningless" to be a very clumsy word as well.
Obviously that word exists (example: https://en.wiktionary.org/wiki/beginningless)
but I find it ... awkward.

I do not have any real preference either way so, to be completely honest,
I am with mame here - I don't think it is that important, at the least not
that I would dwell that much thought on it. Thinking about good names is
often quite difficult - just look at HashWithIndifferentAccess.

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

* 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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:94971] [Ruby master Bug#16114] Naming of "beginless range"
       [not found] <redmine.issue-16114.20190821233444@ruby-lang.org>
                   ` (5 preceding siblings ...)
  2019-08-22  8:04 ` [ruby-core:94476] " shevegen
@ 2019-09-19  5:56 ` joshua.goodall
  6 siblings, 0 replies; 7+ messages in thread
From: joshua.goodall @ 2019-09-19  5:56 UTC (permalink / raw)
  To: ruby-core

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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-09-19  5:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <redmine.issue-16114.20190821233444@ruby-lang.org>
2019-08-21 23:34 ` [ruby-core:94465] [Ruby master Bug#16114] Naming of "beginless range" paul
2019-08-21 23:58 ` [ruby-core:94466] " muraken
2019-08-22  0:01 ` [ruby-core:94467] " mame
2019-08-22  3:49 ` [ruby-core:94472] " duerst
2019-08-22  4:58 ` [ruby-core:94473] " muraken
2019-08-22  8:04 ` [ruby-core:94476] " shevegen
2019-09-19  5:56 ` [ruby-core:94971] " joshua.goodall

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 read-only IMAP folder(s) and NNTP newsgroup(s).