• calcopiritus@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    3 months ago

    This is the first time I’ve seen uppercase denoting scope. Usually it is done with a “_” or “__” prefix.

    Casing styles usually mean different identifier types.

    snake_case or pascalCase for functions and variables, CamelCase for types, UPPER_SNAKE_CASE for constants, and so on.

    If we want to apply this to file systems, you could argue something like: CamelCase for directories, snake_case for files, pascalCase for symlinks, UPPER_SNAKE_CASE for hidden files.