The standard naming convention across programming languages is that constants use ALL_CAPS_WITH_UNDERSCORES (PATH_DIR) while variables use lowercase_with_underscores (path_dir). This makes constants easily distinguishable from variables in code and improves readability.