> On Jun 19, 2018, at 2:50 AM, Christophe Demarey <[email protected]> 
> wrote:
> 
>> Le 17 juin 2018 à 20:20, Sean P. DeNigris <[email protected]> a écrit :
> 
>> Also, it seems that "higher" priority in SessionManager means a lower
>> number! This seems opposite of both logic and precedent (see Process), no?
> 
> You’re right. It simplifies sorting but indeed is counter-intuitive.
> Changing that now will probably break things for people relying on the 
> current behavior.

I guess it seems intuitive to me that 1st place is higher priority than 2nd 
place or that 1 comes before 2. But you could add a new API with a number that 
gets translated to/from an internal value. That is the beauty of encapsulation.

James Foster

Reply via email to