If you were asked to make an e-commerce website in 2025, what language would you reach for? Show of hands: JavaScript? Go? Pascal? Well, there was at least one taker for that last one: [jns], and he has an hour-long tutorial video showing you how he made it happen.

  • expr@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    4 days ago

    I’m not entirely sure what the Haskell comment is supposed to mean. Just that it would be cool? Or that it would be hard?

    Because if it’s the latter, that’s just really not true. Haskell’s quite well-suited to writing web servers and has many high-quality libraries for it. I’d actually argue that it’s one of the best options for it in 2025. I write Haskell professionally developing web servers we use for our web and mobile apps. We have about 0.5 million lines of Haskell in production (and given how terse Haskell is, you could expect that size to be at least double were it written in an imperative language).

    • thingsiplay@beehaw.org
      link
      fedilink
      arrow-up
      2
      ·
      4 days ago

      Well that wasn’t meant to be too serious. You are surely aware of the situation that Haskell is not often used language in production. And a huge project you are doing with lot of Haskell is definitely something special.

      • expr@programming.dev
        link
        fedilink
        arrow-up
        3
        ·
        4 days ago

        Oh for sure, it’s definitely less common, though there are a number of other companies running it in production as well. This isn’t my first Haskell job, after all. My last job was also a similar size company and codebase. Facebook was even running it for a while for their sizeable abusive content detection system before that was shuttered due to company politics/policies (back when they were trying to do something about it at all).

        But yeah, it’s not the first pick for a lot of companies, though I tend to think of that as a simple mindshare/inertia explanation than anything inherent to the language/ecosystem.