Validating user input

What is the best way to validate user input? At first I was doing it at different points the user input was used, but then realized I was having to duplicate code so I've moved to it over to its own class. This was definitely a better approach, but I'm curious on what approaches everyone else uses?

submitted by /u/sleeponitheavy
[link] [comments]

from Software Development – methodologies, techniques, and tools. Covering Agile, RUP, Waterfall + more! https://ift.tt/39XGahg

Leave a comment

Design a site like this with WordPress.com
Get started
search previous next tag category expand menu location phone mail time cart zoom edit close