Re:Show HN: I built a poker site with Haskell
by icedchai on Saturday August 10, 2019 @10:11AM
(#20662134)
I’d say the original code was wrong. anyway catching an exception isn’t tricky.
Re:Show HN: I built a poker site with Haskell
by KirinDave on Saturday August 10, 2019 @12:08PM
(#20662821)
If it's easy then why did you fail twice at even making a valid python expression?
When we talk about the oppressive nature of Python culture—how the "there is only one way to do it" culture leaks out of the place where it's applicable and starts to be focused on other communities that have different requirements—we think of examples like this. "Your code in a language I don't now or use is wrong."
Over focusing on how the example code polls the environment is the least interesting thing you could hyperfocus on. What's more, I think it's a bit more normal to use something like optparse-applicative, which leads to inevitable complaints about using infix operators that every Haskell novice knows but that armchair Haskell programmers hem and haw about asking, "is this too many operators?"
Re:Show HN: I built a poker site with Haskell
by icedchai on Saturday August 10, 2019 @12:23PM
(#20662922)
I only answered once. The other code was from another guy.
What's the value of your exercise if you just redefine the problem to get rid of the tricky part?