Re: s/true/better name/

2005-05-24 Thread TSa (Thomas Sandlaß)
Sorry, that I excavate that thread, but it just fits my question. Rod Adams wrote: Well, "and" and "or" serve the purpose of being at a much lower precedence level than "&&" and "||". I would see the value in alphabetic "not" as serving the same relation to "!". But I would still see it retur

Re: s/true/better name/

2005-03-17 Thread Juerd
Brian Ingerson skribis 2005-03-17 11:57 (-0800): > 'Tis a pity nobody suggested `tis()`. That sounds more like a smart match on the topic: if tis 'foo' { ... } if $_ ~~ 'foo' { ... } 't => $_, is => ~~ Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juer

Re: s/true/better name/

2005-03-17 Thread Yuval Kogman
On Thu, Mar 17, 2005 at 14:09:26 -0700, Luke Palmer wrote: > Is wrong. If answer() decides that it should start returning a more > interesting value of true, then the test fails. I think the only name for this function, from which you can actually understand what it does, is bool(?:ean

Re: s/true/better name/

2005-03-17 Thread Luke Palmer
Mark J. Reed writes: > Luke Palmer wrote: > > >Marcus Adair writes: > >> Additionally I question whether this is truly a case improving to the > >> point of least surprise? After all, I don't know a programmer who's > >> going to be surprised by what true means. There are still *some* things > >>

Re: s/true/better name/

2005-03-17 Thread Brian Ingerson
On 17/03/05 04:40 +0800, Autrijus Tang wrote: > On Wed, Mar 16, 2005 at 12:09:40PM -0800, Larry Wall wrote: > > whereas as a native English speaker would probably expect > > > > $x = whether($a or $b); > > > > So I'm thinking we'll just go back to "true", both for that reason, > > and because

Re: s/true/better name/

2005-03-17 Thread Aldo Calpini
John Macdonald wrote: A shotgun brainstorming of possible operator names: well, I didn't follow this thread very closely (and I don't know if it is "officially" closed :-) but I suddenly thought about "yes". what about: $x = not $a or $b; # vs $x = yes $a or $b; $yesno = yes any(@foo) == an

Re: s/true/better name/

2005-03-17 Thread Thomas Sandlaß
Larry Wall wrote: $x = whether $a or $b; $x = not $a or $b; would actually be parsed as $x = whether($a) or $b; $x = not($a) or $b; whereas as a native English speaker would probably expect $x = whether($a or $b); Reading this makes me wanting: $x = either $a or $b; $y = neith

Re: s/true/better name/

2005-03-16 Thread Rod Adams
Larry Wall wrote: On Wed, Mar 16, 2005 at 01:22:06PM -0600, Rod Adams wrote: : Larry Wall wrote: : : >On Tue, Mar 15, 2005 at 12:28:15PM -0700, Marcus Adair wrote: : >: Isn't saying "false doesn't exist" like saying, "dark doesn't exist"? : >: Why have a word for that? : >: : >: I'm really afrai

Re: s/true/better name/

2005-03-16 Thread John Macdonald
On Wednesday 16 March 2005 15:40, Autrijus Tang wrote: > On Wed, Mar 16, 2005 at 12:09:40PM -0800, Larry Wall wrote: > > So I'm thinking we'll just go back to "true", both for that reason, > > and because it does syntactically block the naughty meaning of true as > > a term (as long as we don't def

Re: s/true/better name/

2005-03-16 Thread Autrijus Tang
On Wed, Mar 16, 2005 at 12:09:40PM -0800, Larry Wall wrote: > whereas as a native English speaker would probably expect > > $x = whether($a or $b); > > So I'm thinking we'll just go back to "true", both for that reason, > and because it does syntactically block the naughty meaning of true as

Re: s/true/better name/

2005-03-16 Thread Larry Wall
On Wed, Mar 16, 2005 at 01:22:06PM -0600, Rod Adams wrote: : Larry Wall wrote: : : >On Tue, Mar 15, 2005 at 12:28:15PM -0700, Marcus Adair wrote: : >: Isn't saying "false doesn't exist" like saying, "dark doesn't exist"? : >: Why have a word for that? : >: : >: I'm really afraid I'm missing some

Re: s/true/better name/

2005-03-16 Thread Rod Adams
Larry Wall wrote: On Tue, Mar 15, 2005 at 12:28:15PM -0700, Marcus Adair wrote: : Isn't saying "false doesn't exist" like saying, "dark doesn't exist"? : Why have a word for that? : : I'm really afraid I'm missing something obvious here, but I'm worried : that neither "whether" nor "indeed" work

Re: s/true/better name/

2005-03-16 Thread Larry Wall
On Wed, Mar 16, 2005 at 01:41:56PM -0500, Mark J. Reed wrote: : Luke Palmer wrote: : : >Marcus Adair writes: : >> Additionally I question whether this is truly a case improving to the : >> point of least surprise? After all, I don't know a programmer who's : >> going to be surprised by what true m

Re: s/true/better name/

2005-03-16 Thread Mark J. Reed
Luke Palmer wrote: Marcus Adair writes: > Additionally I question whether this is truly a case improving to the > point of least surprise? After all, I don't know a programmer who's > going to be surprised by what true means. There are still *some* things > you may have to learn in software dev 101

Re: s/true/better name/

2005-03-16 Thread Larry Wall
On Tue, Mar 15, 2005 at 12:28:15PM -0700, Marcus Adair wrote: : Isn't saying "false doesn't exist" like saying, "dark doesn't exist"? : Why have a word for that? : : I'm really afraid I'm missing something obvious here, but I'm worried : that neither "whether" nor "indeed" work very well in many

Re: s/true/better name/

2005-03-16 Thread Luke Palmer
Marcus Adair writes: > Additionally I question whether this is truly a case improving to the > point of least surprise? After all, I don't know a programmer who's > going to be surprised by what true means. There are still *some* things > you may have to learn in software dev 101 ;) The problem

Re: s/true/better name/

2005-03-16 Thread Luke Palmer
Juerd writes: > Nicholas Clark skribis 2005-03-15 17:53 (+): > > On Tue, Mar 15, 2005 at 05:57:57PM +0100, Juerd wrote: > > > And re its spelling, that's a very good feature, because it'll slowly > > > teach me how to spell this word. And when I know how to spell it, I can > > > use it on IRC w

Re: s/true/better name/

2005-03-16 Thread Marcus Adair
Isn't saying "false doesn't exist" like saying, "dark doesn't exist"? Why have a word for that? I'm really afraid I'm missing something obvious here, but I'm worried that neither "whether" nor "indeed" work very well in many contexts. It seems to me that testing trueness exists in so many conte

Re: s/true/better name/

2005-03-15 Thread David Storrs
On Tue, Mar 15, 2005 at 08:23:19AM -0800, Larry Wall wrote: > On Tue, Mar 15, 2005 at 10:51:57AM +0100, Juerd wrote: > : Autrijus suggested "indeed" or "id", of which I like "indeed" better, > : because I'd like to continue using "id" with databases. > > "id" is too heavily overloaded with identif

Re: s/true/better name/

2005-03-15 Thread Rod Adams
Larry Wall wrote: On Tue, Mar 15, 2005 at 12:13:52PM +0200, Yuval Kogman wrote: : On Tue, Mar 15, 2005 at 10:51:57 +0100, Juerd wrote: : : > Autrijus suggested "indeed" or "id", of which I like "indeed" better, : > because I'd like to continue using "id" with databases. : : whether? That's an in

Re: s/true/better name/

2005-03-15 Thread Juerd
Nicholas Clark skribis 2005-03-15 17:53 (+): > On Tue, Mar 15, 2005 at 05:57:57PM +0100, Juerd wrote: > > And re its spelling, that's a very good feature, because it'll slowly > > teach me how to spell this word. And when I know how to spell it, I can > > use it on IRC without dict(1)ing to see

Re: s/true/better name/

2005-03-15 Thread Nicholas Clark
On Tue, Mar 15, 2005 at 05:57:57PM +0100, Juerd wrote: > And re its spelling, that's a very good feature, because it'll slowly > teach me how to spell this word. And when I know how to spell it, I can > use it on IRC without dict(1)ing to see if I remembered correctly. This > will eventually save

Re: s/true/better name/

2005-03-15 Thread Juerd
Larry Wall skribis 2005-03-15 8:41 (-0800): > On Tue, Mar 15, 2005 at 12:13:52PM +0200, Yuval Kogman wrote: > : On Tue, Mar 15, 2005 at 10:51:57 +0100, Juerd wrote: > : > Autrijus suggested "indeed" or "id", of which I like "indeed" better, > : > because I'd like to continue using "id" with databa

Re: s/true/better name/

2005-03-15 Thread Larry Wall
On Tue, Mar 15, 2005 at 12:13:52PM +0200, Yuval Kogman wrote: : On Tue, Mar 15, 2005 at 10:51:57 +0100, Juerd wrote: : : > Autrijus suggested "indeed" or "id", of which I like "indeed" better, : > because I'd like to continue using "id" with databases. : : whether? That's an interesting possibil

Re: s/true/better name/

2005-03-15 Thread Juerd
Autrijus Tang skribis 2005-03-16 0:25 (+0800): > On Tue, Mar 15, 2005 at 08:23:19AM -0800, Larry Wall wrote: > > I'd go with either "istrue" or "so". "ok" is another possibility, > > though that seems to connote definedness more than truth. > Hmm, "so" is so good. So can we make it so? :) So is

Re: s/true/better name/

2005-03-15 Thread Autrijus Tang
On Tue, Mar 15, 2005 at 08:23:19AM -0800, Larry Wall wrote: > I'd go with either "istrue" or "so". "ok" is another possibility, > though that seems to connote definedness more than truth. Hmm, "so" is so good. So can we make it so? :) Thanks, /Autrijus/ pgpVnDqeuQFYm.pgp Description: PGP signa

Re: s/true/better name/

2005-03-15 Thread Larry Wall
On Tue, Mar 15, 2005 at 10:51:57AM +0100, Juerd wrote: : Autrijus suggested "indeed" or "id", of which I like "indeed" better, : because I'd like to continue using "id" with databases. "id" is too heavily overloaded with identifiers and identities and such. But "indeed" doesn't work right in conte

Re: s/true/better name/

2005-03-15 Thread Yuval Kogman
On Tue, Mar 15, 2005 at 10:51:57 +0100, Juerd wrote: > Autrijus suggested "indeed" or "id", of which I like "indeed" better, > because I'd like to continue using "id" with databases. whether? -- () Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker & /\ kung foo master: /me beats up s