While I understand cases in which what you said is useful, some can become shortcomings. Replacing the constants with their actual values decreases the code's readability, specially if you don't have the values memorized. Using == instead of AND means that the button you are comparing must be the only one being pressed. That would mean pressing A would work, but not A and UP.