develooper Front page | perl.perl6.language | Postings from May 2004

Yadda yadda yadda some more

Thread Next
From:
Aaron Sherman
Date:
May 12, 2004 14:30
Subject:
Yadda yadda yadda some more
Message ID:
1084397404.13150.97.camel@pps
I like C<...>

I like it a LOT.

In fact, I'm partial to the idea that it should be usable anywhere:

	class {
		has $.a;
		has $.b;
		...;
	}

or

	my Foo $a = ...; # Ask Bob what this should be -Bill

In all cases, I'm a fan of C<...> being valid syntax, but returning a
run-time exception. It's just a lovely bit of code-as-documentation.


-- 
Aaron Sherman <ajs@ajs.com>
Senior Systems Engineer and Toolsmith
"It's the sound of a satellite saying, 'get me down!'" -Shriekback



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