News for hackers. Stuff that matters.
Re:Haskell: A Great Procedural Language by _jackdk_ on Sunday January 19, 2025 @06:52AM (#42756260)
> Haskell is apparently quite strong for general backend web dev

Yep. Mostly because of the https://www.servant.dev/ framework (but see also IHP, Yesod, and other frameworks). Servant lets you declare your HTTP API at the type level, and then it will infer the correct types for your endpoint handlers. You can also extract OpenAPI specs from it, generate clients for Haskell or other languages, etc.

My current employer, Bellroy, uses Haskell for pretty much all new code and Servant for all new HTTP APIs. https://exploring-better-ways.bellroy.com/our-technology-sta... is an older post discussing the shift to Haskell. We've found Haskell code to be much more compact than the equivalent Ruby, and significantly more robust.

Re:Haskell: A Great Procedural Language by hiAndrewQuinn on Sunday January 19, 2025 @07:33AM (#42756462)
Going from Ruby to Haskell is, itself, quite a good signal of quality for me. Start strong and end stronger. Sounds like you've got a good thing going!
Re:Haskell: A Great Procedural Language by colonial on Sunday January 19, 2025 @12:17PM (#42759047)
Oh, hey, I purchased one of your leather phone cases recently. Big fan!
Re:Haskell: A Great Procedural Language by _jackdk_ on Sunday January 19, 2025 @06:03PM (#42763035)
I'm glad you like them!