@Araq
> and I don't want ALLCAPS in my language
Do you know
c2nim --nep1 h.c
cat h.c h.nim
enum TrafficLightState
{
OFF,
GREEN,
YELLOW,
RED,
RED_AND_YELLOW
};
type
TrafficLightState* = enum
OFF, GREEN, YELLOW, RED, RED_AND_YELLOW
That is what we have for GTK 3.20, I have not fixed it manually.
I do not like ALLCAP myself too much. But disallowing what we do not like for
other people may not be a very good decision. Why not include a hidden delay of
60 seconds in the compiler when an ALLCAPS is detected? :)
And finally -- it may be fine for lazy coding that I can write fileName and
filename in the same source code for the same object, but in the long term I
prefer clean, accurate code, so I will use only one of these names everywhere.
Of course, it would be bad to use fileName and filename in the same scope for
different objects -- compiler or other tool should give a warning.