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

  • 5 Posts
  • 105 Comments
Joined 3 years ago
cake
Cake day: July 2nd, 2023

help-circle






  • 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.



  • Enums are the best part of the Rust language IMO, so I’m not sure how you can view them as ugly. Having the choice to destructure something is fantastic. You generally aren’t required to destructure every return value. Make sure you’re using the ? operator as much as possible. If destructuring is getting in your way, it sounds like the code is not very idiomatic.

    I can’t really comment on your issue with nested if and match. Too much nesting is bad in any language; try extracting more functions and let bindings to make it more readable.

    You can enable a clippy lint to deny .unwrap() if you’re worried about it.