[Development] Suggested addition to wiki.qt.io/Coding_Conventions
Thiago Macieira
thiago.macieira at intel.com
Thu May 21 18:38:52 CEST 2015
On Thursday 21 May 2015 15:36:46 Marc Mutz wrote:
> FTR: Attempt at a workaround (existed for QVector<QPoint(F)> already):
> https://codereview.qt-project.org/112761
> Now, _that_ is one ugly hack. And only necessary because non-polymorphic
> classes were exported. Open (perceived) beauty in one header thus creates
> hidden ugliness in the guts of Qt. I'd prefer getting rid of hidden
> ugliness even at the price of a tiny bit less of (perceived) beauty (our
> headers are so full of macros, what harm does one more do, anyway? :).
Those are very good examples of not exporting the whole class, at the expense
of making very ugly headers.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development
mailing list