develooper Front page | perl.perl6.internals | Postings from August 2008

Re: My Parrot 0.7.0 patches (cygwin)

Thread Previous | Thread Next
From:
jerry gay
Date:
August 26, 2008 07:41
Subject:
Re: My Parrot 0.7.0 patches (cygwin)
Message ID:
1d9a3f400808260740o4afaee9eud4411355f30a902@mail.gmail.com
On Tue, Aug 26, 2008 at 2:34 AM, Reini Urban <rurban@x-ray.at> wrote:
> I'll go now for something like
>
> #IF(key1|key2&(key3&!key4))
> #IFNOT(key1|key2&(key3&!key4))
>
> And probably a shortcut for the negative else clause, like
> #IF(cygwin):
> #ELSE:
>
> #+ and #- is lisp so I don't want to destroy #+ the syntax rules.
> #IF(): is quite short and easy to read.
>
i know it was all caps before, but do we need to continue that trend?
i find it ugly.

stealing the markers from perl 6's test suite compiler directives, and
using lower case and full english words, i suggest:

#?if(foo|bar) ...
#?else if(baz) ...
#?else ...
#?unless(quux) ...

~jerry

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