News for hackers. Stuff that matters.
Re:My personal C coding style as of late 2023 by dkersten on Tuesday October 10, 2023 @07:26AM (#37830774)
IMHO that’s much uglier than using caps.

Sometimes when I use C++, I will namespace them however:

    namespace constants {
        static constexpr int name = 42;
    }
    …
    int x = constants::name;
The exact name of the namespace would depend on the use and could be something more descriptive.

There are no comments on this comment yet.