For less numeric values means less priority as well...

Mark Struberg <[email protected]> schrieb am Sun Dec 28 2014 at 15:40:09:

> We should get a common understanding which of those 2 different approaches
> we should take.
> My main concern is that it should be clear as glass for the user what he
> gets.
>
> What has a higher priority? 1, 2, or 3 ?
> Imo the highes priority is always 1. But then it's really hard to add a
> more important priority.
>
> We've discussed this to some extent in OpenWebBeans where I first
> implemented this mechanism in 2009 (see PropertyLoader). And back then we
> decided to not use 'priority' but 'ordinal'. Because the higher the ordinal
> (math) the more important something is.
> That way it is really easy to add a ConfigSource which is 'even more
> important' and thus tweak the effective configuration.
>
> What do others think about those 2 approaches?
>
>
> LieGrue,
> strub
>

Reply via email to