develooper Front page | perl.perl6.language | Postings from August 2009

Re: Embedded comments: two proposed solutions to the comment-whole-lines problem

Thread Previous | Thread Next
From:
Jon Lang
Date:
August 17, 2009 17:14
Subject:
Re: Embedded comments: two proposed solutions to the comment-whole-lines problem
Message ID:
ef30550b0908171714u33d9b3d9vc08c11cf59b50716@mail.gmail.com
On Tue, Aug 11, 2009 at 12:42 PM, Jon Lang<dataweaver@gmail.com> wrote:
> jerry gay wrote:
>> for the latest spec changes regarding this item, see
>> http://perlcabal.org/svn/pugs/revision/?rev=27959.
>>
>> is everyone equally miserable now? ;)
>
> Already seen it.  My latest points still stand, though: #`(...) is
> still vulnerable to ambiguity relative to #..., whereas `#(...),
> `#...#`, or (#...) don't share the same vulnerability.

With the latest S26 proposal (and its new declarator blocks) in mind,
I think that I would be happiest if embedded comments used the (#...)
syntax.  Reason: you still get the flexibility of choosing your own
delimiters (unlike `#...#`), and you don't have to worry about where
the = goes (unlike #`(...): is it #=`(...), #=(...), or #`(=...)?
Likewise for `#(...)).

-- 
Jonathan "Dataweaver" Lang

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