a legacy kata to refactor
Context: Application to search facts by keywords. And find related facts. You receives these code with the following instructions:
- when user enter too long sentence on input then application closed
- we need evolve date comparison: facts with same days (and month) on different years must be equals
Contains:
- Cyclomatic complexity
- Code duplication
- Lack of dependency injection
- Dependency cycle
- Bad Entity/Value-object choice
- Non-deterministic processing
- Static service