• 0 Posts
  • 201 Comments
Joined 1 year ago
cake
Cake day: July 3rd, 2023

help-circle

  • expr@programming.devtoProgrammer Humor@lemmy.mlI love Rust
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    20 hours ago

    Don’t need the Ord instance for equality, just Eq is sufficient. Ord is for inequalities.

    The point of the post is that most mainstream languages don’t provide a way to automatically derive point-wise equality by value, even though it’s pervasively used everywhere. They instead need IDEs to generate the boilerplate rather than the compiler handling it.


  • Ah could be hardware/OS, yeah. I believe everyone at our company are on MacBooks (I’m a Linux guy myself, but orgs don’t usually like that).

    My personal laptop is a Dell XPS 13 and while I like it for various reasons, it has had plenty of problems with the built-in mic and video (mostly the mic). So it very well could be that.