• 1 Post
  • 82 Comments
Joined 1 year ago
cake
Cake day: July 5th, 2023

help-circle

  • r1veRRR@feddit.deto196@lemmy.blahaj.zoneRule
    link
    fedilink
    arrow-up
    2
    ·
    6 months ago

    How so? The system of patriarchy is beyond any one individual to solve. Yet I’m damn certain you believe every man should still do their best not to contribute. Why should the system of animal exploitation (and environmental destruction, while we’re at it) be any different?

    Is it because one of these requires actual work on your side? You are the one measuring the same thing by two different standards.



  • The oil industry is, of course, doing all that polluting for the sheer fun of it. Our collective consumption habits, esp. in the PRIVILEGED western countries, have absolutely nothing to do with it.

    There is no sustainable way to eat the amount of meat we do, no matter how much or how little capitalism gets involved. Even assuming the absolute best (aka unrealistic) stats for grass-fed cows, we’d still have to reduce our meat consumption to 1/7 of where it currently is. Do you think that is doable just by destroying some companies? Do you think people would just accept that???




  • I don’t understand the need for Ctrl-C/V, when manually copying the text exists. I know it’s snarky, but that’s the level of difference we’re talking about here. Or imagine, to delete a line, someone Right Arrows 50 times, then backspaces 50 times, instead of using the shortcut.





  • SQL is horrible as a language to read or write. There’s a million different variants, because it lacks so many basic things. And when used in other code, you generally end up string concatinating one language in another language, with all the HORRIBLE bugs something like that brings about.

    Imagine Backend People said we should just write adhoc Javascript for the frontend by concatinating the “correct” code in the backend.










  • Ironically, I learned Rust first, and later looked at Go. I found a lot of the syntax needlessly “different”. That being said, it’s still a decent language. Point being, a lot of the weirdness subsides once you understand why it’s there.

    Personally, I don’t actually care about the lifecycle and memory management stuff. What I like about Rust is:

    • An enforced error type that is very convenient to use with the ? operator. No more err != nil spam, but same amount of safety
    • ADTs with a host of wonderful features, like exhaustive match statements. Go enums are horrendously basic, let’s be honest
    • NO NIL!! Non existence is expressed with an Option type that, like the error type, comes with many conveniences
    • Generics from the start, meaning you don’t have older code that throws away type safety anywhere
    • Traits/Interfaces can be implemented for foreign/external types and types can implement external interfaces (duh)
    • Great tooling, good formatting tools, good LSP, that kind of stuff. Golang has that too

    Why learn Rust? For the same reason everyone should learn different languages. To learn new concepts and see new perspectives on old problems. It’ll make you a better developer even in your previous languages.