damn, Golang is picky! https://octodon.social/media/rPvteRvL9otauckN9fk
man idk, Rust is putting up way more of a fight than Golang did for me... I guess that's kind of by design though. https://octodon.social/media/yjYuGa_nH0PH-WbDscA
Alright I got tic-tac-toe working in both Go and (omg the struggle) Rust!
Here's my long blog post about it: https://sts10.github.io/2017/11/18/trying-go-and-rust.html (tl;dr Rust seems like a really cool idea, but Go seems more practical for most)
Golang repo: https://github.com/sts10/tic-tac-go
Rust repo: https://github.com/sts10/rusty-tac
@seanlinsley ha alright, alright I'll make an edit for `match`.
And dammmnnnn re: sum. That's slick. Did not see that.
@seanlinsley cool!
Sum seems to work just as advertised, but separately I'm running into some logic problems with the actual tic-tac-toe game, fyi
@schlink I forget if it was an issue that you ran into, but the just-released new version makes it so `*` (de-reference) isn't needed for `+=` https://blog.rust-lang.org/2017/11/22/Rust-1.22.html
@schlink I'm reaching out to see if we can get that error message improved. In my personal experience I've been impressed by the number of errors that included a suggested fix 😻 https://twitter.com/seanlinsley/status/932040007069720576