This doesn't look very idiomatic, with assert() and __int__ etc. Please don't try to learn Go from this.
Edit: to be a little more constructive, do the Go tour instead.
56 karma · joined June 19, 2007
Edit: to be a little more constructive, do the Go tour instead.
Does anyone know what these methods might be?
In general, how can one learn to think in an immutable fashion to effectively exploit this?