I'm just reading a book which is demonstrating how you can link any number of relational operations together using logical operators, and the book gives this example:
var > 15 || !(10 < count) && 3 <= item
I understand that well enough, but I just wondered - would you ever need to write !(10 < count) or could you just write 10 > count ?
If the first one means "not '10 is less than count'", does not "10 is greater than count" give you exactly the same meaning? Or not in this case?