develooper Front page | perl.perl5.porters | Postings from February 2013

Re: Don't patch perlopentut: rewrite it completely

Thread Previous | Thread Next
From:
demerphq
Date:
February 18, 2013 07:38
Subject:
Re: Don't patch perlopentut: rewrite it completely
Message ID:
CANgJU+ULo1qc+QiWEpAhnnrW7i0pXhtDThbeaup7WsjmbYOwVg@mail.gmail.com
On 18 February 2013 08:21, Johan Vromans <jvromans@squirrel.nl> wrote:
> "H.Merijn Brand" <h.m.brand@xs4all.nl> writes:
>
>> /me is in favor of bringing back the dor (or err) keyword!
>
> Yes, and no.
>
> There's added value to a special token that connects two statements so
> that the second is only executed when the first one returns undefined.
> I'm not particulary charmed by 'dor' and 'err'. 'dor' is technical and
> does not have a relation to a real live expression like the other
> other keywords. 'err' is plain nonsense.
>
> The correct term we're looking for would be something similar to
> 'failing that, do'. But I must admit I can not come up with something
> better. Perhaps 𝍐 (tetragram for 'failure')?

Please can we avoid the bikeshed discussion on this one?

"dor" is well known, "err" IMO slightly less, lets just pick one and
be done with it.

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