Professional software engineer, musician, gamer, stoic, democratic socialist

  • 21 Posts
  • 1.01K Comments
Joined 3 years ago
cake
Cake day: July 2nd, 2023

help-circle
  • Regarding the derive macros, there are a few reasons these are required.

    1. Rust does not have a language runtime (like Java). So certain features that would normally require reflection instead require an opt-in trait implementation. This is part of Rust’s “zero cost abstractions” philosophy. You don’t pay for code you don’t need.
    2. You get the benefit of being able to customize the behavior of those core traits. Rather than doing something simple (and wrong) for every type, like a byte-for-byte equality check, you get to define the behavior that is appropriate for a given type.
    3. The derive macros are just a convenience. You are free to use “regular code” to implement those traits instead.













  • tatterdemalion@programming.devtoComic Strips@lemmy.worldyou are
    link
    fedilink
    arrow-up
    2
    arrow-down
    3
    ·
    edit-2
    19 days ago

    I think feminism is a perfectly appropriate word choice for the movement. The focus is on the fact that women are discriminated against, and that is a very specific scope of problems that need to be addressed. Calling it egalitarianism kinda loses the point and draws focus away from the actual problem. I.e. the movement is about solving problems, not about a hypothetical utopic end state. You could argue about what that utopia should look like forever, but the movement has already identified concrete issues that need to be addressed.

    Anyone who nitpicks the word choice like in the comic is just not sympathetic to the issue and causing a distraction.






  • tatterdemalion@programming.devtoPhilosophy@mander.xyz*Permanently Deleted*
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    1 month ago

    Please explain how my comment implied that in any way.

    EDIT: So if I’m understanding you right, you’re saying that you believe (even if only for the sake of argument) that other people are a “part of you” in such a way that you can’t know things about them that they already know about themselves.

    If so, I don’t think that really changes the ethical problem. So what if you believe that you’d only be harming “yourself”? You still can’t prove this, and so acting on that belief to do harm to others without guilt would be unjustified.