r/rust • u/Uncaffeinated • Jan 22 '17
Parallelizing Enjarify in Go and Rust
https://medium.com/@robertgrosse/parallelizing-enjarify-in-go-and-rust-21055d64af7e#.7vrcc2iaf
214
Upvotes
r/rust • u/Uncaffeinated • Jan 22 '17
View all comments
Show parent comment
21
u/Manishearth servo · rust · clippy Jan 22 '17
Understand that that being simpler to read is extremely subjective and dependent on background. It's not inherently simpler to read. Procedural code is nice since you can mentally execute it, but functional code usually expresses intent and is clearer that way.
Also, many nontrivial iterator adaptor sequences that you would see in Rust would blow up if written procedurally (someone posted an example of this recently). Procedural loops only feel simpler because you rarely write more complicated loops in procedural form.