Should global consts that are Refs be UPPER_SNAKE_CASE? What do you think, and why?
It seems that there is no consensus among existing code.
The ecosystem is split:
The docs say “follow Base”
The 1.13-dev docs also say “use UPPER_SNAKE_CASE”
Base is split:
julia> filter(name -> getglobal(Base, name) isa Ref, names(Base,all=true))
16-element Vector{Symbol}:
:ACTIVE_PROJECT
:C_NULL
:ENABLE_PRECOMPILE_WARNINGS
:HOME_PROJECT
:LOADING_CACHE
:MAX_NUM_PRECOMPILE_FILES
:PKG_PRECOMPILE_HOOK
:PRECOMPILE_TRACE_COMPILE
:REFLECTION_COMPILER
:REPL_MODULE_REF
:_regex_opts_str
:_require_world_age
:_track_dependencies
:methodloc_callback
:toplevel_load
:update_stackframes_callback