Input validation is the kind of thing that sounds easy on the surface but then gets weirdly hard to implement and maintain effectively as the app grows. You may find validation code ends up getting copied or spread across the application. People get used to it and it just becomes “the way it must be”. Except… it doesn’t need to be that way. You CAN centralize ALL of your validation logic in one place while keeping it flexible enough to use with any input source.
Category: Coding
Let the code speak for itself!
Easy to read code is especially important when it’s a business’s bread and butter. There are only so many hours in a day a developer can spend working on a piece of software so it makes sense to focus the developer’s efforts on value generating activities like writing new code or fixing bugs, to move the business forward faster. Time spent trying to figure out existing code is a cost the business will want to minimize.
Code workout: Slim down those interfaces
See how typical web controller code can be broken down into bite sized chunks by following SOLID principles. The result is a decoupled architecture that’s highly resistant to unnecessary maintenance as your application evolves, saving you time and headache in the long run.