Front page | perl.perl6.language |
Postings from August 2006
Re: === and array-refs
Thread Previous
|
Thread Next
From:
Markus Laire
Date:
August 17, 2006 04:49
Subject:
Re: === and array-refs
Message ID:
67d53e40608170449n553f5a51j78a77d5cdbd8c19f@mail.gmail.com
On 8/17/06, Darren Duncan <darren@darrenduncan.net> wrote:
> Generally speaking, the direct use of === is more for specialized
> purposes, somewhat like the direct use of =:= is. If one can't tell
> the difference between === and eqv, they most likely want snapshot
> semantics anyway, and so might as well forget === exists, and just
> use eqv everywhere.
For me === feels like it should be the operator with "easier"
semantics, i.e. the operator which perl-newbies would first want to
learn, so it feels like the semantics of === and eqv should be
swapped.
=== is a lot nearer to what many other languages uses for they
comparison than more cryptic eqv.
Also, == does "simpler" comparison than eq, so I feel that === should
also do "simpler" (to understand) comparison than eqv
--
Markus Laire
Thread Previous
|
Thread Next
-
===, =:=, ~~, eq and == revisited (blame ajs!)
by Yuval Kogman
-
Re: ===, =:=, ~~, eq and == revisited (blame ajs!) -- Explained
by Yuval Kogman
-
Re: ===, =:=, ~~, eq and == revisited (blame ajs!) -- Explained
by David Green
-
Re: ===, =:=, ~~, eq and == revisited (blame ajs!) -- Explained
by Larry Wall
-
Re: ===, =:=, ~~, eq and == revisited (blame ajs!) -- Explained
by Smylers
-
Re: ===, =:=, ~~, eq and == revisited (blame ajs!) -- Explained
by Charles Bailey
-
Re: ===, =:=, ~~, eq and == revisited (blame ajs!) -- Explained
by Jonathan Lang
-
Re: ===, =:=, ~~, eq and == revisited (blame ajs!)
by Darren Duncan
-
Re: ===, =:=, ~~, eq and == revisited (blame ajs!)
by Aaron Sherman
-
Re: ===, =:=, ~~, eq and == revisited (blame ajs!)
by Yuval Kogman
-
Re: ===, =:=, ~~, eq and == revisited (blame ajs!)
by Yuval Kogman