develooper Front page | perl.perl6.language | Postings from October 2001

Just a thought...

Thread Next
From:
Piers Cawley
Date:
October 9, 2001 03:23
Subject:
Just a thought...
Message ID:
m2g08txgdx.fsf@localhost.localdomain
Does the change from ?: to ??:: mean that we can have '?' as a valid
character in an identifier? I quite like the ruby/scheme idiom of
having boolean methods ending in a question mark. eg:

    sub is_visible? {...}

Of course, I'm not going to be even vaguely upset if this is still not
allowed, but it might be nice if it were.

-- 
Piers

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