[Development] QArrayDataObs/Pointer UB post-mortem
Ulf Hermann
ulf.hermann at qt.io
Tue May 26 13:54:03 CEST 2026
> * I would also like to see explained why it's ok for 3rd-party
> components to be updated completely, but not for Qt components
> themselves. After all, we have control over the latter, but little
> to no control over the former.
Because we can't separate the features from the fixes in 3rdparty
components and therefore have to begrudgingly take the whole package. In
Qt itself, we can sort the changes out.
> * As for refactorings: no, refactorings cannot have regressions. If a
> change causes regressions, then by definition it wasn't a
> refactoring. That the term is used to mean arbitrary rewrites
> instead of actual refactorings is part of the problem, though. From
> refactoring.com:
>
> *Refactoring* is a disciplined technique for restructuring an
> existing body of code, altering its internal structure without
> changing its external behavior.
>
> Its heart is a series of small behavior preserving transformations.
Apparently we are quite often doing changes we believe to be
refactorings, but that actually aren't. How do we deal with that?
best regards,
Ulf
More information about the Development
mailing list