• 0 Posts
  • 7 Comments
Joined 9 months ago
cake
Cake day: February 6th, 2024

help-circle
  • Equality in rust is value equality per default, that’s what these traits are for. If you want to check pointer equality you’d use the std::ptr::eq function to check if two pointers are equal, which is rather rare in practice. You can also implement the PartialEq trait yourself if you need custom equality checks.



  • Easier said than done:

    1. Admit there’s a problem
    2. Find a sustainable solution
    3. Fight for the solution
    4. Enjoy a better society

    I think many people don’t realize they focus too much on short-term issues, which are actually symptoms of deeper systemic problems. For instance, the two-party system in the US stems from election campaigns not being publicly funded and also the “winner-takes-all” electoral system instead of proportional representation. I would bet you already know about these issues but still I don’t see them being discussed in media and that’s where every big change must begin. And that’s also what I think should answer your question. Instead of spreading awareness of the current problems at hand, you should focus on the deep issues and instead spread awareness of them. That’s my opinion at least.