ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: shevegen@gmail.com
To: ruby-core@ruby-lang.org
Subject: [ruby-core:94476] [Ruby master Bug#16114] Naming of "beginless range"
Date: Thu, 22 Aug 2019 08:04:30 +0000 (UTC)	[thread overview]
Message-ID: <redmine.journal-80911.20190822080430.0cdd8084412ad3ec@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-16114.20190821233444@ruby-lang.org

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/

  parent reply	other threads:[~2019-08-22  8:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 ` shevegen [this message]
2019-09-19  5:56 ` [ruby-core:94971] " joshua.goodall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.journal-80911.20190822080430.0cdd8084412ad3ec@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).