As users of computer systems, we’re always making errors: mistyping usernames and passwords, selecting the wrong menu choice, clicking the wrong button, and so on.
Thankfully, modern programmers care enough to allow us to re-enter mistyped IDs, say that we didn’t really mean to log off (you know we mean you, Windows!), and undo those disastrous cuts-and-pastes.
Today in class, we saw how to check user input for reasonableness, allowing us to start protecting users from themselves. Our programming skills are growing up, and now we can show that we care enough to practise safe programming!
There's a spelling error paragraph 2, line 2. Didn't*
ReplyDeleteThanks for the correction, Denisa.
ReplyDeleteBecause I type my posts in HTML (so that I can use the special character entities), my browser doesn't catch all the typos.
I'm glad that your eyes were sharper than mine!