Skip to content

Files

Latest commit

 

History

History
12 lines (7 loc) · 449 Bytes

redefines-builtin-id.md

File metadata and controls

12 lines (7 loc) · 449 Bytes

Pattern: Redefining builtin name

Issue: -

Description

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.

Further Reading