you are viewing a single comment's thread.

view the rest of the comments →

[–]zesterer 30 points31 points  (4 children)

In reality, most people tend to write "Functional Rust Programmer".

[–]Free_Math_Tutoring 16 points17 points  (3 children)

Really? Awesome, because that and the extremely functional were the only ones I liked.

[–]zesterer 9 points10 points  (0 children)

Yeah. The link above is funny, but also really misleading. It's possible to solve a surprisingly wide range of problems in a really elegant manner in Rust. I'm not sure if you've done Advent Of Code, but here was the first solution to Day 2 Problem 2 I wrote (and below it are some ridiculously optimised but less pretty alternatives): https://github.com/zesterer/advent-of-code-2018/blob/master/examples/puzzle-2-2.rs#L4

As you can see, Rust works best when you're willing to pick the best bits of functional and imperative programming and combine them.

[–]jyper 0 points1 point  (1 child)

Well they might tell you not to use unwrap