Comparing Sequences
- Posted by Michael Nelson <MichaelANelson at WORLDNET.ATT.NET> Oct 06, 2000
- 368 views
Rob, I feel that your last remark to David Cuny was inappropriate--an attack on the person rather than a dispute about ideas. In terms of the substance of the dispute, I rather like Derek's suggestion to silently transmute comparison operators to calls to compare() when used on sequences in if and while statements. This would be a special rule, admittedly--but would be symmetric to the special short-circuiting rule. No existing code would be broken, but an alternative syntax that many users prefer would become available. I don't know if I'd want to go along with Derek's suggestions for further change down the line, but I wouldn't mind if if "Help" = "Help" then were legal Eu syntax. Also I would like to see greater() and less() to go along with equal(). -- Mike Nelson