Better HN
topnewbestaskshowjobs
Log inSign up

betterwaytodoit

7 karma · joined Jun 22, 2017 (9y ago) · 1 submissions

Submissions

comment 9y ago · link · parent

Here's a more idiomatic translation of the Python code to Go, and there's no surprise to how the code behaves:

https://play.golang.org/p/rpqvVDR9v8