Rust would have solved three of his complaints with Go: Sum types, iterators, and generics.
Borrow checking can get especially tricky with graph algorithms though, so perhaps that would have been a new issue.
[1] https://crates.io/crates/petgraph
[2] https://github.com/petgraph/petgraph
Rust would have solved three of his complaints with Go: Sum types, iterators, and generics.
Borrow checking can get especially tricky with graph algorithms though, so perhaps that would have been a new issue.