Le 01/08/2010 23:58, Gilles Sadowski a écrit :
> Hi.
>
> So, do you prefer:
> ---
> public enum Order {
> INCREASING,
> DECREASING
> }
> ---
> or
> ---
> public enum OrderDirection {
> INCREASING,
> DECREASING
> }
> ---
> ?
>
> But are you sure that there won't be anything useful that would justify
> having an enum "Direction" inside an enclosing "Order" (as it is now)?
I would prefer the second one as it is more focused. If we need another
kind of ordering notion we could add it with a parallel naming scheme.
Luc
>
>
> Gilles
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]