Of course, and you'll see loads of code that takes advantage of that. The chance of the values of HIGH and LOW ever changing is vanishingly small, but it's still bad practice to take advantage of what you know about the implementation details.
Of course, and you'll see loads of code that takes advantage of that. The chance of the values of HIGH and LOW ever changing is vanishingly small, but it's still bad practice to take advantage of what you know about the implementation details.