3 ms·
I worked both with Go and Rust in a professional setting and imho if someone doesn't care about readability, the code won't be readable in either of the languag
by drogus 3y ago
I worked both with Go and Rust in a professional setting and imho if someone doesn't care about readability, the code won't be readable in either of the languages. Yes, in Rust you tend to build more abstractions, but if they're built correctly, you usually don't have to dive into the details, just use the abstractions (also isolation of level of abstractions helps). Also, yes, code in Go is simple, but as a project gets bigger you may end up with tons of copied code that may differ slightly in some variations with a lot of concepts that make it harder to read the code (like a god context object that is passed everywhere, where people just start adding stuff, cause it's easy to do and suddenly you have no control flow).
The article mentions a Java project, btw, so I'm not sure where is he getting his "it's because of the language" bit.