On Thursday 16 January 2025 12:31:30 Central European Standard Time Tor Arne 
Vestbø via Development wrote:
> > On Jan 16, 2025, at 11:56, Marc Mutz via Development
> > <development@qt-project.org> wrote:
> > is a very _un_-Qt-ish one. In Qt, we believe that brevity does not 
> > automatically equal readability¹, and the more explicit
> > 
> >> if (point.state() == TouchPoint::State::Pressed)
> > 
> > is more (but certainly not less) readable than
> > 
> >> if (point.state() == TouchPoint::Pressed)
> 
> 
> The latter is more readable to me due to lack of redundant information
> (“State::”)
 
I agree, and this was a cherry-picked best case.

Best regards
Allan


-- 
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to