I also feel like the sentiment in On the arbitrariness of truth(iness) applies here. And in much the same way Stefan concludes “Just say no to truthiness”, I would say “Just say no to (in)equality comparisons between numbers and collections of them.”
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Meaning of `isless`, `<`, `cmp`, `isequal`, `==`, total order, partial order, unordered | 24 | 2466 | January 7, 2018 | |
| Type restriction on UnitRange | 17 | 1634 | October 21, 2017 | |
| max(x::T, y::T) and min must be commutative! | 20 | 3162 | August 3, 2017 | |
| Behavior of == when isless or < is defined | 22 | 2272 | April 4, 2018 | |
| Why does scientific notation break the range function? | 95 | 4581 | April 29, 2022 |