Avoid the usage of a shortcut to access globals. Some of the reasons are:

Noncompliant Code Example

In the code snippets below, it is supposed that the context of globals of the second snippet is that of the first snippet.

// In one part of the code...
set ^foo("bar") = baz

// In another part of the code...
w ^("bar")

Compliant Solution

// In one part of the code...
set ^foo("bar") = baz

// In another part of the code...
w ^foo("bar")