WeSearch

Understanding Pointers in Go; The Two Runes (& and *) of Go

·24 min read · 0 reactions · 0 comments · 5 views
Understanding Pointers in Go; The Two Runes (& and *) of Go

A thorough guide to addresses, pointers, and the elegant dance between them - grounded in how your...

Original article
DEV.to (Top)
Read full at DEV.to (Top) →
Opening excerpt (first ~120 words) tap to expand

try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 878458) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Emmanuel Ayinde Posted on May 1 • Originally published at gr8soln.vercel.app Understanding Pointers in Go; The Two Runes (& and *) of Go #go #beginners #programming A thorough guide to addresses, pointers, and the elegant dance between them - grounded in how your computer's RAM actually works, with real examples, and an honest look at the trade-offs.

Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from DEV.to (Top)