Pattern: Redefining builtin name
Issue: -
Constant names like false
, true
, nil
, function names like append
, make
, and basic type names like bool
, and byte
are not reserved words of the language; therefore the can be redefined.
Even if possible, redefining these built in names can lead to bugs very difficult to detect.