develooper Front page | perl.perl6.language | Postings from March 2005

s/true/better name/

Thread Next
From:
Juerd
Date:
March 15, 2005 01:52
Subject:
s/true/better name/
Message ID:
20050315095157.GM24041@c4.convolution.nl
In #perl6, Freenode, after again having to explain that "true" is the
opposite of "not" and NOT the value for "true", and that "false" doesn't
exist, and that the real true value is "bool::true" and shouldn't be used
much, and that no, it isn't "true", and no, "true" doesn't always return
"bool::true", but despite its name can also return "bool::false", and
then explaining everything again, we kind of agreed that "true" is a
misleading name. In my opinion, it's the biggest violation of the whole
least surprise thing in Perl 6's current design.

Autrijus suggested "indeed" or "id", of which I like "indeed" better,
because I'd like to continue using "id" with databases.


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

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