I know, that for C++ and Java it is a well established naming convention, that constants should be written all uppercase, with underscores to separate words. Like this (Java
Do not use ALL_CAPS for constants just because constants used to be macros.
This quote from C++ Core Guidelines sums it all.