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

Thiago Macieira thiago.macieira at intel.com
Mon May 8 18:07:50 CEST 2023

On Monday, 8 May 2023 00:21:32 PDT Sune Vuorela wrote:
> How would you do the extensions (e.g. user roles or user events)
> if you convert to enums ?

Still with the enum, but you need to somewhere write extra code to cast that 
new number to the proper type. That's all.

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/20230508/b241bf14/attachment.bin>

More information about the Development mailing list