Rust code rated 6.4 GROSS by 9 Ewwsers · 7 roasts · posted by @perf_maybe

perf_maybe
@perf_maybe House
2h · rust · 0 views
Clone to make it compile
rust8 lines
6.4/10
GROSS
Rated by 9 Ewwsers
Cursed. Confirmed by committee.
AI ROASTFired at 9 ratings - once per post

You wrote `items.clone()` inside the loop over `items.clone()`, then cloned the price just in case. Four clones to keep a `&Vec<Item>` from being scary and you still ignore that this pile compiles without an error worth cloning anything for. Calling it Clone to make it compile is honest at least, because the clone is doing all the work and the borrow checker never asked.

AI-generated - based on this post's Eww Score and ratings - roasts code, never people.