Go rant

bearophile bearophileHUGS at lycos.com
Mon Dec 14 17:52:16 PST 2009


There are things that I read often around in blogs and papers (and sometimes even in books), but sometimes I keep not understanding them.

Sean Kelly:
> If I had to guess I'd say that he's referring to that fact that value types in Java are second-class citizens.  The standard containers can only hold objects, so boxing is necessary,<

Reading that page I have thought he wants all data to be managed by reference.


>I have absolutely no idea how all this applies to Go, however.<

Currently Go has no generics or templates, and it has both refence-based data and value data.

Thank you for your answer,
bye,
bearophile



More information about the Digitalmars-d mailing list