• 1 Post
  • 10 Comments
Joined 3 years ago
cake
Cake day: January 23rd, 2022

help-circle


  • BaumGeist@lemmy.mltoProgrammer Humor@lemmy.mlI love Rust
    link
    fedilink
    arrow-up
    23
    ·
    edit-2
    2 days ago

    Implementing Equality in Haskell:

        deriving (Eq, Ord)
    

    After learning how easy it was to implement functional programming in Rust (it’s almost like the language requires it sometimes), I decided to go back and learn the one I had heard about the most.

    It opened my mind. Rust takes so many cues from Haskell, I don’t even know where to begin. Strong typing, immutable primitives, derived types, Sum types. Iterating and iterables, closures, and pattern matching are big in Haskell.

    I’m not saying Rust uses these because Graydon Hoare wanted a more C-like Haskell, but it is clear it took a lot of elements from the functional paradigm, and the implementations the designers were familiar with had descended through Haskell at some point.

    Also, deriving is not the same as implementing. One is letting the compiler make an educated guess about what you want to compare, the other is telling it specifically what you want to compare. You’re making, coincidentally, a bad comparison.









  • developers handle design, not finances. Microtransactions have always been in the interest of profit, not to make the games better. They were the markets compromise with gamers being unlikely to pay enough to cover costs of a Triple A development cycle.

    Reminder that when the NES came out, it was still $60 dollars for a game, which would be about $180 today. And that’s not accounting for all the extra manhours that now go into the major titles. Microtransactions and DLCs are the deal with the devil we made to keep games from being $200+ a pop