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

Re: Indirect object syntax

Thread Previous | Thread Next
From:
Chase Whitener
Date:
May 20, 2016 13:33
Subject:
Re: Indirect object syntax
Message ID:
CALoNeLsgeFRNy=Wnx7QH-5QjPF9qkzG8eQZvHjRHs-QZu7NyKg@mail.gmail.com
Removing indirect object notation from all examples sounds great to me!
We're constantly getting people creating new code with indirect object
notation because they've copy/pasted an example to start.  Granted, a lot
of that may be in CPAN world.

On Fri, May 20, 2016 at 9:27 AM, Lukas Mai <plokinom@gmail.com> wrote:

> Am 20.05.2016 um 14:16 schrieb Abigail:
>
>> On Fri, May 20, 2016 at 10:32:37AM +0000, Ed Avis wrote:
>>
>>> I see that there is a general consensus that indirect object syntax is
>>> discouraged and should be removed from documentation examples.  It is
>>> time
>>> to revisit Kent Fredric's proposal at
>>> <http://thread.gmane.org/gmane.comp.lang.perl.perl5.porters/128189>?
>>>
>>>
>>
>> While I don't favour indirect objection notation (other than print),
>> I'm weary of eliminating documentation about it.
>>
>
> The proposal was to remove indirect object notation from examples, not to
> remove the documentation for indirect object notation.
>
> --
> Lukas Mai <plokinom@gmail.com>
>

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