develooper Front page | perl.perl6.language | Postings from January 2003

Re: Guillemets: innies or outies?

From:
Damian Conway
Date:
January 27, 2003 16:34
Subject:
Re: Guillemets: innies or outies?
Message ID:
3E35D027.6080106@conway.org
Thomas A. Boyer wrote:

> Damian, somewhere in the conversation on hyper-ops you switched over from this syntax:
>       my @sum = @a «+» @b;
> to this syntax:
>       my @sum = @a »+« @b;
>
 > Would you care to share your thoughts on why you've gone with 
inward-pointing guillemets?

Because that's what Larry decided last time this thread arose.
Convex guillemets will be used for word lists:

	use strict «vars subs conversions»;

	for «Doh Ray Me Far So La Tee» -> $word {
	    print "$word, %desc{$word}\n";
	}

This is a far more naturally parenthetical usage of guillemets than vector ops 
would be.

And I strongly prefer the concave guillemets for vectorizing, because they 
highlight the operation, pointing it out in a distinctly "lookie-here" manner.


Damian
	




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About