On the left: Someone browsing through a huge book captioned "Implementing equality in other languages". On the right: A tiny book labelled with the Rust code `#[derive(PartialEq, Eq)]` captioned "Implementing Eq in Rust".
you are viewing a single comment's thread
view the rest of the comments
[–] 11 points 2 years ago (4 children)

It's not hard, just if you're doing it for a struct with a lot of fields it's a lot of boilerplate

  • source
  • parent
  • hideshow 4 child comments
  • [–] -5 points 2 years ago* (2 children)

    My IDE can do that for me. And it was able to do that pre AI boom. Yes, the code ends up more verbose, but I just collapse it.

    So from a modern dev UX perspective, this shouldn't be a major difference.

  • source
  • parent
  • hideshow 2 child comments