[Development] API style guide: scoped enum or not?

Thiago Macieira thiago.macieira at intel.com
Thu May 4 17:00:31 CEST 2023

On Thursday, 4 May 2023 00:58:52 PDT Marco Bubke via Development wrote:
> This is introducing dependencies on code which makes dependency breaking
> much harder. I very often need an enumeration in an interface but not the
> class itself. There are ways to get around that but it makes TDD harder if
> Qt is involved.

That's a good point, but it's a bigger change to our style guide than "to 
class or not to class". Requesting that we design our enumerations outside of 
any class/struct is a big change.

Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5152 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20230504/834257a1/attachment-0001.bin>

More information about the Development mailing list