[bv-dev] Results on @Positive/@Negative poll

Gunnar Morling gunnar at hibernate.org
Wed Jun 7 03:25:43 EDT 2017


Hi,

These are the PRs for adding @PositiveOrZero and @NegativeOrZero:

* https://github.com/beanvalidation/beanvalidation-api/pull/111
* https://github.com/beanvalidation/beanvalidation-spec/pull/183

--Gunnar


2017-05-26 18:19 GMT+02:00 Michael Nascimento <misterm at gmail.com>:
> On Fri, May 26, 2017 at 5:55 AM, Gunnar Morling <gunnar at hibernate.org>
> wrote:
>>
>> 2017-05-24 18:01 GMT+02:00 Michael Nascimento <misterm at gmail.com>:
>> > The non-negative names are the way to go if we go the separate
>> > annotations
>> > route.
>>
>> Can you elaborate on your reasoning?
>
>
> OUCH, I meant the non-non-negative aka PositiveOrZero / NegativeOrZero.
> Sorry for that. It just shows how confusing negative names are :-)
>
>>
>> >  I'm not a big fan of simply listening to the masses though and I'm
>> > wondering whether these annotations pull their weight, though. I feel
>> > more
>> > inclined towards orZero, which is the second most popular choice.
>>
>> Ok, but I think it'd be bad form to first ask for feedback and then
>> not follow the expressed preference.
>
>
> I respect your reasoning. However, the difference is not statistically
> significant and we are going for the second option, which shows we're
> listening to a degree.
>
>>
>> Also I think this is mostly a question of style, it's not a black and
>> white thing.
>
>
> That's for sure.
>
> Regards,
> Michael
>
> _______________________________________________
> beanvalidation-dev mailing list
> beanvalidation-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/beanvalidation-dev


More information about the beanvalidation-dev mailing list