News for hackers. Stuff that matters.
Re:Why the world needs Haskell by k_bx on Thursday July 11, 2013 @05:25PM (#6029329)
Yes, that's exactly what I was sayint 2 comments upper this thread:

> The point I wanted to make is that it's the same getA, but anyone reading the code should understand that result binded to a and b will be different.

So, while referrential transparency is still in place, programmer who reads the code will most likely care not about getA's result, but rather what will a and b get binded to, and in those terms it's just the same as good old

a = getA(); b = getA();

There are no comments on this comment yet.