torsdag 3 november 2016

Watch me learn Go, part 9: Implementing Next

In this video I implement the Next function that I wrote tests for. I have a hunch that I've introduced some non-idiomatic Go code. For example, I added some error handling, but I'm afraid I don't know what to do with the error. Where I come from (Java land) we just throw the errors up the call stack.

Get the code at https://github.com/nllptr/conway


Inga kommentarer:

Skicka en kommentar