5 ms·
> Though notice that you picked literally the most trivial example in the entire codebase that anyone can understand without explanation. I needed the explanat
by jscholes 7y ago
> Though notice that you picked literally the most trivial example in the entire codebase that anyone can understand without explanation.
I needed the explanation to understand what the code snippet was doing. Careful with those generalisations.
- hombre_fatal 7y agoWell, non-programmers are even more helpless in understanding the code, but that's just not the point I'm making. Let's not require everyone to couch every statement in disclaimers, especially such an ancillary one. And you surely can understand that code is trying to read a port or use a default one.
- jscholes 7y ago> And you surely can understand that code is trying to read a port or use a default one. In programming languages which use paradigms I'm more familiar with, yes. In Haskell, not so much, which is the entire point of this thread.
- hombre_fatal 7y ago> In Haskell, not so much, which is the entire point of this thread. Yes, that's my point, too. I'm not sure what you're arguing with. That you don't understand even the most trivial snippet in the code base is only a point in my favor. You're picking beef with an irrelevant detail and confusing it for disagreement. Remember, I was replying to someone who is trying to show that Haskell isn't so hard once you break down a snippet. I pointed out that the snippet was the most trivial selection they could have picked, that the rest of the code is even harder so it's not a very big consolation. You chimed in that even the simplest snippet was still alien to you.
- daenz 7y ago>Remember, I was replying to someone who is trying to show that Haskell isn't so hard once you break down a snippet. That's not what I was trying to show, and I'm not sure how you got that sense. I was trying to show that even the most simple snippet requires a lot of background knowledge to understand.
- KirinDave 7y agoWeird, I thought the point of this thread was how to bikeshed looking up environment variables while folks look at the proverbial camera and appeal to the hypothetical audience that `if x == null: ` would surely be morally superior.