Join Nostr
2026-07-20 13:29:17 UTC
in reply to

Raptor :gamedev: on Nostr: nprofile1q…9wq0y that's how I do it, II reserve casing for functions, definitions, ...

that's how I do it, II reserve casing for functions, definitions, classes, namespaces, etc. It helps to visually distinguish at a glance. I use underscore separators if needed for variable names.

specifically

ALL CAPS + snake case: macro/definitions/namespaces (eg. #define MAX_PRECISION 0.01)

all lower + snake case: variables, primitive typedefs (eg. fs::path default_config_path)

PascalCase: classes, structures, enums (eg. class ConfigFile)