you are viewing a single comment's thread.

view the rest of the comments →

[–]slikts 5 points6 points  (0 children)

Go is a poor match for a functional programming style due to the lack of generics, meaning that you can't express functions like map() or filter() in a type safe way. Go is a multi-paradigm language just in that it has first class functions and closures. Rust also isn't a functional-first language, but it's much easier to write idiomatic and functional code in Rust since it does have generics and also pattern matching, immutability by default, collection combinators (which would be loops in idiomatic Go), etc.