Pointers vs References
JUNE 30, 2014
Other languages including C++, Java, Python, Ruby, Perl and PHP all support references. On the surface both references and pointers are very similar, both are used to have one variable provide access to another. In this article I will illustrate the difference between pointers and references. Consequently understanding the difference between pointers and references is critical to understanding Go. We will be using Go as the reference implementation for pointers.