News for hackers. Stuff that matters.
Re:Show HN: I built a poker site with Haskell by verttii on Friday August 09, 2019 @05:41PM (#20658444)
Our ways to hide that logic has been building libraries that handle nearly all of it.

But since Haskell's ecosystem is small by comparison a lot of that logic leaks to your own application code. Especially when dealing with something like stateful websocket applications.

Re:Show HN: I built a poker site with Haskell by twitchard on Friday August 09, 2019 @11:58PM (#20660055)
A general-purpose library able to hide the necessarily specific logic of how network events and a poker game should interact seems... unlikely?
Re:Show HN: I built a poker site with Haskell by verttii on Saturday August 10, 2019 @09:42AM (#20661955)
Sure, but the original argument was: > raw connection state, timers, transient and long-term persistent state

Much of this surely can be abstracted away to 3rd party libraries/frameworks. Haskell, even though a higher level language than most out there, lacks the ecosystem support for a lot of things that are handled by some library in lower level languages.

Re:Show HN: I built a poker site with Haskell by dllthomas on Thursday August 15, 2019 @11:35AM (#20706112)
The point was that these things need to be handled unusually in the case of a poker server in particular. If that's true, then a general purpose library that's handling them invisibly is probably handling them wrong for this use case.