• vinnymac@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    10 hours ago

    Personal preference, but elixir just strikes a balance that doesn’t make me feel like I’m reading hieroglyphs so I’m actually happy to see it praised.

    • fushuan [he/him]@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 hours ago

      I would have preferred for the function to be called mod, since it’s the modulo operation, which in math is represented with a percentage or “mod”. Most programming languages use a percentage because of that, so do a lot of calculators.

    • balsoft@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      9 hours ago

      Yeah, I agree that Elixir is a fine language for some tasks. I personally find the readability somewhat average, but it’s very maintainable (due to how it enables clear program structure), the error handling is great, and the lightweight process system is amazing.