For the most part, global variables should be ignored and prevented from being used. If they are needed, we should put them in relevant structs that can be accessed elsewhere, and are created through const unique_ptrs. In some rare cases, like those accessed through assembly, the variables cannot be updated.
For the most part, global variables should be ignored and prevented from being used. If they are needed, we should put them in relevant structs that can be accessed elsewhere, and are created through const unique_ptrs. In some rare cases, like those accessed through assembly, the variables cannot be updated.