> On 21 Aug 2019, at 17:39, Giuseppe D'Angelo via Development > <[email protected]> wrote: > > However, what I was referring about was the problem of using the wrong class > to manage string-data: if tooling can reliably tell users that they're doing > a mistake, this drastically reduces the chances of such mistakes happening > (and the associated cognitive load). As such, then having many classes > becomes a less important issue (because a tool will tell you if you're using > the wrong one).
I agree that this would mitigate the problem somewhat, but imagine writing your code and being reminded every second: warning: using “foo" is not optimal, you should be using QEsotericLiteralStringViewV2NG 😊 Tor Arne _______________________________________________ Development mailing list [email protected] https://lists.qt-project.org/listinfo/development
