Specifically, I’m interested in BEAM, but I’m not sure if I should go for Elixir or Gleam. What seems cool about Gleam is that it has static typing.

I have no experience with functional programming at all btw

  • AbelianGrape@beehaw.org
    link
    fedilink
    arrow-up
    1
    ·
    2 days ago

    The only things on the bad list that I agree with are top-level type inference and small communities. And ocamls windows support is terrible. Haskell’s is more than ok now.

    In Haskell, any style guide worth its salt requires annotations on top level functions, and many of them also require annotations on local bindings. This pretty effectively works around the problem.

    Bad code will be unreadable in any language of course. But the other things don’t themselves make code unreadable once you’re actually familiar with the language and its ecosystem.

    • FizzyOrange@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      13 hours ago

      Bad code will be unreadable in any language of course.

      Yeah I’m talking about good code, or at least not bad code. Let’s not “no true Scotsman” this.

      Even for good code you don’t need syntax highlighting to easily see which identifiers are function names and which are their parameters in Rust.

      • AbelianGrape@beehaw.org
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        11 hours ago

        I don’t need syntax highlighting for that in Haskell either. My usual highlighting just leaves them both in the default text color.

        And I’m specifically arguing that the other things on your list do not inherently make code bad.