[Development] Naming convention for (scoped) enums

André Pönitz apoenitz at t-online.de
Wed Aug 15 09:04:30 CEST 2018


On Wed, Aug 15, 2018 at 07:32:48AM +0000, Alex Blasche wrote:
> I don't think we have ever not permitted exceptions to official
> policy. Therefore, take it for granted that the policy can be ignored
> such as in the case presented by Allan. Having said that the default
> should be the use of scoped enums even inside of classes.  [...]

More a general remark than a response to this particular message,
or even thread. Still:

One thing that severely annoys me, and has done so for a few years
now, especially in leaf modules, is the piecemeal introduction of
API style changes.

While good old Qt API may look a bit unfashionable and outdated
at times, it had the huge advantage of being consistent.

The new styles usually do have some benefit, but their use starts
by doing actual damage due to the introduced inconsistency.

I'd rather stay consistent as long as reasonably possible, and then
do big jumps, instead of seeing this GTK-style jumble all day.

Andre'



More information about the Development mailing list