Re:Show HN: I built a poker site with Haskell
by 6gvONxR4sf7o on Friday August 09, 2019 @06:06PM
(#20658587)
One problem is very generic tooling in Haskell. In many languages, you'll have a library that might provide a function like "iteratePokerGameStep." In the haskell community, the author is more likely to realize that this could just be implemented via "BiApplicativeProfuctorCategory.map." So instead of writing a 6 line "iteratePokerGameStep" which gets its own name, you're more likely to see someone just call "map." Much simpler code in some ways, much less simple in others.
[ Parent
| on HN ]
Re:Show HN: I built a poker site with Haskell
by dllthomas on Sunday August 11, 2019 @01:09AM
(#20666363)
If it's not obvious why someSuperGenericThing is thisSpecificThingINeed in this case, I'll often give it an appropriate name and more specific type locally. It helps the next reader (which, of course, might be me) and can also help keep type errors better localized. It takes noticing, though, to be sure.