Understanding Go Pointers
Understand Go Pointers, their functionality, and when to use them.
Introduction
Pointers are another essential tool for programming languages for efficient memory use. Some readers may not have encountered pointers in their current language, instead having used its cousin, the reference type. In Python, for example, the dict
, list
, and object
types are reference types. The illustration below depicts a variable x
, and the address it’s stored in.
Get hands-on with 1400+ tech skills courses.