News for hackers. Stuff that matters.
Re:Ask HN: Why would anyone choose Haskell to develop applic... by 4e530344963049 on Sunday March 06, 2022 @10:57AM (#30578383)
"JS is almost never the right tool for the job"

Except, you know, in the browser...

Re:Ask HN: Why would anyone choose Haskell to develop applic... by mountainriver on Sunday March 06, 2022 @11:00AM (#30578415)
Yeah I didn’t get that part, JS is one of the most used languages because of the browser
Re:Ask HN: Why would anyone choose Haskell to develop applic... by jpgvm on Sunday March 06, 2022 @11:45AM (#30578789)
This is fair. I don't write browser code.
Re:Ask HN: Why would anyone choose Haskell to develop applic... by UnpossibleJim on Sunday March 06, 2022 @11:12AM (#30578516)
Web Assembly is right around the corner... still =P
Re:Ask HN: Why would anyone choose Haskell to develop applic... by yakshaving_jgt on Monday March 07, 2022 @12:02AM (#30584390)
That doesn’t mean you need to write JavaScript. You can write code in a reasonable language that compiles to JavaScript.
Re:Ask HN: Why would anyone choose Haskell to develop applic... by fulafel on Monday March 07, 2022 @02:22AM (#30585064)
Sometimes yes but for a lot of situations we have better options, like ClojureScript, TypeScript, etc.
Re:Ask HN: Why would anyone choose Haskell to develop applic... by 7thaccount on Sunday March 06, 2022 @01:30PM (#30579767)
I assume they meant everything, except the browser (like electron apps or NodeJS on the backend).