Logic in equality and assignment
From: Peter Johnsson (pej_at_comhem.se)
Date: 03/31/04
- Next message: Robert W Hand: "Re: I looking for PDF417 Specifications."
- Previous message: Rich GK: "Re: [C++] how to use fmod in cmath library"
- Next in thread: Chris \( Val \): "Re: Logic in equality and assignment"
- Reply: Chris \( Val \): "Re: Logic in equality and assignment"
- Reply: Jeff Schwab: "Re: Logic in equality and assignment"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 31 Mar 2004 10:12:09 GMT
Maybe this is considered a "strange" question but anyway...
Wouldn't it be more logic to do "!==" instead of "!=" for "not equal to"
considering the implication of assignment in the second case?, the same goes
for the other operators.. Or am I missing something here ?
Regards
- Next message: Robert W Hand: "Re: I looking for PDF417 Specifications."
- Previous message: Rich GK: "Re: [C++] how to use fmod in cmath library"
- Next in thread: Chris \( Val \): "Re: Logic in equality and assignment"
- Reply: Chris \( Val \): "Re: Logic in equality and assignment"
- Reply: Jeff Schwab: "Re: Logic in equality and assignment"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|