develooper Front page | perl.perl5.porters | Postings from November 2011

Re: operator angst

Thread Previous | Thread Next
From:
Christian Walde
Date:
November 16, 2011 04:17
Subject:
Re: operator angst
Message ID:
op.v41ge60qn4yvrm@digitizedsqueak
On Wed, 16 Nov 2011 13:02:57 +0100, Tom Christiansen <tchrist@perl.com> wrote:

>>>> I'd really really like whoever invented the "//" operator to tell me
>>>> how the devil I'm supposed to typeset A || B in a constant-width
>>>> oblique that doesn't look like A // B.
>
>>> I can't think of a good reason to typeset Perl code in an oblique font.
>
>> This is something i'd like to know too. Out of sheer morbid curiosity:
>> tchrist, would you be able to show a scan or image of a page where it
>> would be necessary to italize code? (And/or link to the requiring
>> guidelines?)
>
> What actually happened is that I misread
>
>     I<EXPR1> // I<EXPR2>
>
> as
>     I<EXPR1 || EXPR2>
>
> See?

I can see how that can be confusing and that is why it baffles me how anyone would think italizing code (even pseudo) is a good idea.

-- 
With regards,
Christian Walde

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