Hacker News new | past | comments | ask | show | jobs | submit login

Cf. https://www.youtube.com/watch?v=0m6iFd9N_CY which features this code:

    func soldAnother(a *album) {
    a.copies++ // note the pointer. Can use dot notation on pointer,
    // equivalent to (*a).copies++)



Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: