News for hackers. Stuff that matters.
Re:Go's first commit by dilap on Saturday August 27, 2016 @03:15AM (#12371377)
Yeah, good point. Though it would be handy if you could at least within your own package add methods to types. But then I guess those methods would be uppercase but not exported, which would be weird.

You can certainly imagine schemes like specifying in the import which types to extend, but that seems complex enough that I'm not surprised a language as radically devoted to simplicity as Go left it out.

There are no comments on this comment yet.