5 ms·
Absolutely love how readable the entire project is
by Charon77 1y ago
Absolutely love how readable the entire project is
- yieldcrv 1y agoNever 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.
- jmaker 1y agoNot sure what you’re alluding to but that’s just ordinary Rust without performance or async IO concerns.
- GardenLetter27 1y agoMost 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.
- cmrdporcupine 1y agoDon't underestimate what some programmers trying to prove their cleverness (or just trying to have fun) can do if left unchecked. I think most Rust code does indeed look like this but I've seen plenty of projects that go crazy with lifetimes and generics juggling where they don't have to.
- emporas 1y agoIt 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.
- deleted 1y ago[deleted]
- koakuma-chan 1y agoIt's AI generated
- deleted 1y ago[deleted]
- Revisional_Sin 1y agoHow do you know? The over-commenting?
- koakuma-chan 1y agoI know because this is how an AI generated project looks. Clearly AI generated README, "clean" code, the way files are named, etc.
- cmrdporcupine 1y agoTo me it looks like LLM generated README, but not necessarily the source (or at least not all of it). Or there's been a cleaning pass done over it.
- koakuma-chan 1y agoI think pretty clearly the source is also at least partially generated. None the less, just a README like that already sends a strong signal to stop looking and not trust anything written there.
- magackame 1y agoNot sure myself. Commit messages look pretty human. But the emojis in readme and comments like "// Re-export key structs for easier access", "# Add any test-specific dependencies here if needed" are sus indeed.
- GardenLetter27 1y agoThe repeated Impls are strange.