I constantly hear about research into functional programming, and even real things coming out of them, like certain programming languages (idris).

Is there anything like this for frontend UI dev? It doesn’t have to be FP related.

  • demesisx@infosec.pub
    link
    fedilink
    English
    arrow-up
    6
    ·
    9 months ago

    I’m confused why everyone sleeps on Purescript. I mean, it is currently QUITE obscure… I could be wrong but I feel like Purescript has all of the same goals as Elm but better.

    • monomon
      link
      fedilink
      arrow-up
      3
      ·
      9 months ago

      It does look pretty damn cool. One thing that bothers me is it is in the npm ecoystem :)

      • demesisx@infosec.pub
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        9 months ago

        Thanks for that explanation. That makes sense.

        I guess I should also mention IHP.


        As far as npm and Purescript goes: I don’t interact with npm when I use it. I use nix and nixpkgs to build it which pulls packages from a predefined, fixed package set inside of Pursuit (Purescript’s package manager that feels a whole lot like Stackage). I suppose if I wanted to use it in the real world, I’d probably have to expose myself to some npm. But, from my cursory understanding and experience, it is probably less tainted by the safety issues in the npm than straight up JavaScript. Packages in Pursuit (particularly the ones exposed in the standard package set I use) tend to be super high quality code like the modules you’d find in GHC.

    • Turun@feddit.de
      link
      fedilink
      arrow-up
      2
      ·
      9 months ago

      I also sleep on elm, JavaScript and typescript. (i.e. don’t use then)

      It’s simply that I never heard of purescript.