• Deebster@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    My absolute favourite is when the examples say something like “production code should not be written like this, this is just for clarity” with no indication of what’s wrong with the code.

    Is it just normal Rust stuff like there’s unwraps everywhere and it’s one big file? Does the example have security or performance problems? Is the example unidiomatic or over-verbose or is it ignoring features real-world code would use? EXPLAIN YOURSELF!

  • anlumo@feddit.de
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    clap and bevy are big offenders there. It’s really hard to learn how to use them due to this.