Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?

  • Binette@lemmy.ml
    link
    fedilink
    arrow-up
    10
    ·
    18 days ago

    I’m working on minesweeper using bevy!

    My code is very bloated (lots of for loops inside for loops), so I asked for advice, and the comments all pointed me towards functional programming, specifically higher order functions.

    I’m now going through Haskell aswell.

    • flying_sheep@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      16 days ago

      Great path, your Rust (and e.g. Python) will benefit a lot in the medium term. Medium because if you’re anytging like me, you’ll overcorrect at first and try to do everything without variables lol