Hacker News new | ask | show | jobs
by twitchard 2506 days ago
A general-purpose library able to hide the necessarily specific logic of how network events and a poker game should interact seems... unlikely?
1 comments

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.

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.