In the deposit system, validation is mixed up with extraction
Where?
What's the situation?
- Submission processing can sometimes get part way through before validation fails.
- Validation rules are mixed in with implementation, meaning users don't get fast feedback.
- Validation can't be tested without side-effects.