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
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
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
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
> >>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
28 matches
Mail list logo