[#65451] [ruby-trunk - Feature #10333] [PATCH 3/1] optimize: "yoda literal" == string — ko1@...

Issue #10333 has been updated by Koichi Sasada.

9 messages 2014/10/07

[ruby-core:65561] Re: is there a name for this?

From: Xavier Noria <fxn@...>
Date: 2014-10-09 12:11:54 UTC
List: ruby-core #65561
On Thu, Oct 9, 2014 at 1:59 PM, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:

On 2014/10/09 20:41, Xavier Noria wrote:
> > When describing stuff about constants (working in their guide), you
> often need to refer to the first element of the nesting, or Object if the
> nesting is empty.
> >
> > I don't recall this has a user-level name, is there an internal name for
> it that the guide could use?
>
> Maybe "cref", as an implementation detail name?
>

Awesome, if it was fine to promote "cref" to a user-level name the guide
could define it and use it where necessary. That would be handy.

In This Thread