Subject | Re: [Firebird-Architect] FB 2.0 Road Map |
---|---|
Author | Dmitry Yemanov |
Post date | 2004-09-26T14:35:49Z |
"Jim Starkey" <jas@...> wrote:
the parser.
a negated equivalence operator. Yeah, especially those who can master <>
instead of !=. They'll initially try <><> or <<>>, then !=!= or !!== or
!==... When (or perhaps if?) they'll come to "not <a> == <b>", our support
list will die.
Dmitry
>We already have INSERTING/UPDATING/DELETING pseudo-booleans implemented in
> There's a syntax problem with this. The statement "select * from xyz
> where modified(a,b)" doesn't parse with the current grammer unless the
> parse knows that "modified" is a boolean valued function rather than
> scalar valued. On the other hand, building in a pseudo function doesn't
> fit well with the meta-grammar (but could be done).
the parser.
> I don't buy the C++ argument at all. First, the semantics of theI expect to have some fun seeing you attacked by programmers trying to write
> proposed == is much closer to the C++ == operator than the C++ =
> (assignment) operator. Second, the proposed == operator is what
> programmers intend to write 95% of the time anyway. When comparing
> against a literal, there is almost no difference. The only time that
> significant differences can be expected is when it is used as a join
> term, and in many case, it's also probably closer to what the programmer
> intended. If a C++ programmer can master <> instead of !=, I think he
> or she can back a == operator that behaves like a == operator.
a negated equivalence operator. Yeah, especially those who can master <>
instead of !=. They'll initially try <><> or <<>>, then !=!= or !!== or
!==... When (or perhaps if?) they'll come to "not <a> == <b>", our support
list will die.
Dmitry