Here is a set of principles driving the design of
- Hibernate Validator
- Hibernate Search
- Hibernate OGM
- Bean Validation
The goal of these projects is to improve developer productivity and ease of use.
When adding a feature, we ask this pool of questions:
- Does it feel like the right way of doing things?
If it is not we tend to wait till the idea matures
- Can it be done with an existing construct with similar or less complexity?
Several ways of doing things is counter productive
- Is this feature wrong?
Does it encourage bad practice for example?
- Is this a popular request?
- Is this feature useful?
That is the reason for asking "What's your use case?"
- Is it the most readable approach?
- Is the feature designed consistently with the rest of the library?
None of these questions should slow down innovation but we want high quality libraries. Keeping them both useful and simple is a constant battle against the easier way of adding features ad nauseum. The team believes it is his responsibility to be the guardian of these principles. We are here to make the world a better place, not give food to guideline writers.