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

Re: [perl #128301] [PATCH] Test to see if hash values are eagerlycreated

Thread Previous | Thread Next
From:
demerphq
Date:
June 1, 2016 10:19
Subject:
Re: [perl #128301] [PATCH] Test to see if hash values are eagerlycreated
Message ID:
CANgJU+XTMkgYO0bx0TRtVJCx7Pa2jPm1WrJyTAiN7twQFec-AA@mail.gmail.com
On 1 June 2016 at 11:32, Zefram <zefram@fysh.org> wrote:
> demerphq wrote:
>>         I worry that what you are testing for is accidental or
>>side-effect kind of behaviour of not fully thought through changes,
>
> No, it's long-standing behaviour.  Probably all the way back to 5.000,
> which introduced references.  We shouldn't change any of it.

A bug that lives long enough is a feature? I don't think that is the
right standard. I think anything like this that gets a test should
also have a clear independent rationale that it is correct.

Yves


-- 
perl -Mre=debug -e "/just|another|perl|hacker/"

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