Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by kraazyanna

3 days ago

Never used go, but I assume interface is some kind of indirection? If so, this doesn't seem anymore confusing than:

    void *p=0;
    void **pp=0;
    assert(pp == 0);
    pp=&p;
    assert(pp != 0);
    assert(*pp == 0);

0 comments

kraazyanna

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities