develooper Front page | perl.perl5.porters | Postings from June 2022

Re: Pre-RFC: yield true feature

Thread Previous | Thread Next
From:
Yuki Kimoto
Date:
June 23, 2022 00:40
Subject:
Re: Pre-RFC: yield true feature
Message ID:
CAExogxN6VW6-Lg8DLxXvjH_qa9p=Xp9LTFkYYA_7vjDonHyy9Q@mail.gmail.com
2022-6-22 16:12 Darren Duncan <darren@darrenduncan.net> wrote:

> On 2022-06-21 11:43 p.m., Yuki Kimoto wrote:
> > There seems to be a lot of misunderstanding and confusion due to the
> feature
> > name ”yeald_true” and the reference implementation "true.xs".
> >
> > I think the correct feature name is a shortened name for "require
> ignores the
> > return value of the module file to check if the module was loaded
> successfully".
>
> I will repeat (reworded) something I said before, which is that I feel
> this
> feature should be renamed, as yield_true is clearly and repeatedly giving
> people
> the wrong idea for what it does, and the feature would be good to be
> renamed to
> something that more accurately describes what it does.  Or if that isn't
> renamed, at least the documentation will have to be very clear to explain
> the
> real behavior and not what other behaviors the name would seem to imply.
> --
> Darren Duncan
>

I agree.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About