HomeFreeBSD

style.lua(9): Clarify local variable guideline

Description

style.lua(9): Clarify local variable guideline

The intent of this guideline is to avoid creating global variables in module
scope. Its main purpose is to serve as a reminder that variables at module
scope also need to be declared.

We want to avoid global variables in general, but this is easier to mess up
when designing things in the module scope.

Details

Provenance
kevansAuthored on
Parents
rS329631: stand/lua: Insert helpful comment for drawer.branddefs
Branches
Unknown
Tags
Unknown