On Mon, 24 Aug 2020 at 15:37, Christian Kandeler <christian.kande...@qt.io> wrote: > > I don't have verifiable evidence examples, but the gist of it is this: > > > > ConcreteType x = foo(); // this detects API breaks right here, right now > > ... > > ... > > ... > > some_use_of(x); > > > > With AAA, this might become > > > > auto x = foo(); // this always compiles > > ... > > ... > > ... > > some_use_of(x); // you may detect an API break here, or somewhere deep > > inside some_use_of > > > > I wonder where the verifiable evidence is that AAA works at scale. > > What about: > > some_use_of(foo()); > > Are you suggesting that this is an anti-pattern?
I fail to see where I might have suggested such a thing. That sort of uses are unaffected by whether an API user does or does not buy into AAA. They certainly are another way to detect (or suffer from) an API break, and trying to use more auto doesn't solve it. _______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development