DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Cover image for Golang perk series : *pointers in Go – basics #5
Lukas Gaucas
Lukas Gaucas

Posted on • Updated on

Golang perk series : *pointers in Go – basics #5

Pointers in Go := pass-by-reference :

Please refer to the sample by the name of pointers.go on REPLIT IDE

JavaScript has some pass-by-reference -like behaviour with (outermost) object reference[s] but definitely none of native pointers specification [ – if you still fascinated by the idea of JS pointers, have a look at others/ifJS_pointers.go on REPLIT IDE ; also – pass by reference in JavaScript, stack overflow discussion]

We will see advanced pointers utilisation in structs & relevant fields, stay tuned for updates !


Articles :

Top comments (0)

🌚 Browsing with dark mode makes you a better developer.

It's a scientific fact.