top | item 45248010

(no title)

Charon77 | 5 months ago

Absolutely love how readable the entire project is

discuss

order

emporas|5 months ago

It is very procedural/object oriented. This is not considered good Rust practice. Iterators make it more functional, which is better, more succinct that is, and enums more algebraic. But it's totally fine for a thought experiment.

yieldcrv|5 months ago

Never knew Rust could be that readable. Makes me think other Rust engineers are stuck in a masochistic ego driven contest, which would explain everything else I've encountered about the Rust community and recruiting on that side.

GardenLetter27|5 months ago

Most Rust code looks like this - only generic library code goes crazy with all the generics and lifetimes, due to the need to avoid unnecessary mallocs and also provide a flexible API to users.

But most people aren't writing libraries.

jmaker|5 months ago

Not sure what you’re alluding to but that’s just ordinary Rust without performance or async IO concerns.