Which of the following Defensive Coding practices is describ…
Which of the following Defensive Coding practices is described in this scenario: User provides input into a web form Phone Number: (703) 123-7890 The application scans the input and determines it is in an incorrect format Phone Number: (703) 123-7890 != Required Format: ###-###-#### The application removes the parenthesis, and adds in a dash to convert the data input into an acceptable format Phone Number (703) 123-7890 –> Acceptable Format: 703-123-7890 The application sends the data input to its interpretor for processing
Read Details