Re:An Experiment in Purely Functional IO for Clojure
by taeric on Monday April 20, 2015 @06:33PM
(#9411253)
I get what you are saying. I was really just picking on the "absolutely" part of what you were saying.
Consider, I can absolutely use local reasoning to determine where trash should be to know that the truck driving by will pick it up and take it away. In that sense, I have done my small part and all decisions are locally reasonable. At a global scale, they may not be enough. And more measures may be needed, but not much breaks down on my doing my part.
Same for a program. I can reasonably be sure that calling println will not cause my machine to break, and will leave a note somewhere I can find it. Doesn't matter if this println is in the middle of a loop or not.
Re:An Experiment in Purely Functional IO for Clojure
by tel on Monday April 20, 2015 @11:57PM
(#9412207)
Heh, I just think you and I have different ideas about what "local reasoning" should mean. I cannot personally call your examples anything but very global.
Re:An Experiment in Purely Functional IO for Clojure
by taeric on Tuesday April 21, 2015 @04:45PM
(#9416957)
Only when talking about the entire system. In which case, yes I fully advocate for more global reasoning. Above and beyond any considerations of purity, evidently. :)
Consider, I can absolutely use local reasoning to determine where trash should be to know that the truck driving by will pick it up and take it away. In that sense, I have done my small part and all decisions are locally reasonable. At a global scale, they may not be enough. And more measures may be needed, but not much breaks down on my doing my part.
Same for a program. I can reasonably be sure that calling println will not cause my machine to break, and will leave a note somewhere I can find it. Doesn't matter if this println is in the middle of a loop or not.