Functional Programming, Reductio

Came across a slide deck via Reddit with an excellent point, cutting across the various functional programming diciplines: Central to the thesis of FP is the notion of referential transparency. Referential transparency leads to program compositionality. // #1 X x = function(); R r1 = arbitrary(x); R r2 = arbitrary(x); // #2 R r1 = arbitrary(function()); R …