News for hackers. Stuff that matters.
Re:“Insanity Is Doing the Same Thing and Expecting Different... by emptybits on Tuesday March 28, 2017 @07:30PM (#13981851)
From a purely functional programming perspective, yes.

In reality, global state may have changed. So, no.

i.e. What we refer to as "the same thing" often isn't, in a non-FP world.

Re:“Insanity Is Doing the Same Thing and Expecting Different... by Tharre on Tuesday March 28, 2017 @10:27PM (#13982816)
It's still insanity, unless you know what has changed or at least that something relevant is different this time.

That's not to say that insanity doesn't work sometimes.

Re:“Insanity Is Doing the Same Thing and Expecting Different... by cnocito on Wednesday March 29, 2017 @07:10AM (#13984983)
It's not insanity. Since time invariance is more of an abstract construct than a natural occurrence, I think you all but but guarantees that the same action will eventually yield a different result.
Re:“Insanity Is Doing the Same Thing and Expecting Different... by contravariant on Wednesday March 29, 2017 @12:42PM (#13988028)
If you expect things to turn out differently you will often be disappointed though.
Re:“Insanity Is Doing the Same Thing and Expecting Different... by cnocito on Friday April 07, 2017 @05:26PM (#14063636)
That's a function of your expectations. People get sad when they don't win the lotto but they don't celebrate every day they don't get hit by a car. It's not the odds, it's the expectations that are off.