This might be a very simple question, or perhaps have been asked before but I couldn't really find an answer after a brief search here and via google.
So taking the risk of having missed something similar to this, here goes my question. Why is it so that conditional statements checking for intervals are often not supported as they are, but instead implemented as block if
s or using the &&
operator to bind together the two separate conditions?
Admitted that it's not the whole world if I have to write two lines of more code, but coming from mathematics background, I find it really peculiar that modern compilers cannot do their voodoo on this relatively simple statement.
Is there a particular reason for it for a technical or theoretical perspective?