Re: quote on side effects

2009-01-06 Thread Emeka
Check Clojure manual, I bet 2c. Emeka --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to cloj

Re: quote on side effects

2009-01-05 Thread Timothy Pratley
"As the saying goes, a program without side-effects does nothing more than make your CPU hot." http://en.wikibooks.org/wiki/Learning_Clojure http://groups.google.com/group/clojure/browse_thread/thread/fe8e6f306b9891a7/3e35a075ad45571a?lnk=gst&q=learning+clojure#3e35a075ad45571a Posted by Brian W,

Re: quote on side effects

2009-01-05 Thread Paul Barry
I didn't think you originated the quote, but did you mention it during one of your presentations? Maybe I'm thinking of someone else. On Mon, Jan 5, 2009 at 6:09 PM, Rich Hickey wrote: > > On Mon, Jan 5, 2009 at 5:04 PM, Paul Barry wrote: > > I thought that first place I heard it was Rich ment

Re: quote on side effects

2009-01-05 Thread kevin
I love the quote. I believe it comes from one of the co-creators of Haskell, Simon Peyton Jones (http://en.wikipedia.org/wiki/ Simon_Peyton_Jones). Here's a short video of him with the quote around 3:15: http://channel9.msdn.com/posts/Charles/Simon-Peyton-Jones-Towards-a-Programming-Language-Nir

Re: quote on side effects

2009-01-05 Thread kevin
I don't know if he was the first, but I heard it from Simon Peyton Jones first: In an interview around 3:15: http://channel9.msdn.com/posts/Charles/Simon-Peyton-Jones-Towards-a-Programming-Language-Nirvana/ When answering a question around 10:40: http://oscon.blip.tv/file/324976 Kevin On Jan 5

Re: quote on side effects

2009-01-05 Thread Rich Hickey
On Mon, Jan 5, 2009 at 5:04 PM, Paul Barry wrote: > I thought that first place I heard it was Rich mentioning it in one of the > videos on http://clojure.blip.tv, but I can't find it. > That certainly didn't originate with me. Probably from the Haskell folks. Rich > On Mon, Jan 5, 2009 at 3:48

Re: quote on side effects

2009-01-05 Thread Paul Barry
I thought that first place I heard it was Rich mentioning it in one of the videos on http://clojure.blip.tv, but I can't find it. On Mon, Jan 5, 2009 at 3:48 PM, Mark Volkmann wrote: > > I'm trying to recall where I heard a quote that goes something like this. > > "If none of your functions have

Re: quote on side effects

2009-01-05 Thread Mark H.
On Jan 5, 12:48 pm, "Mark Volkmann" wrote: > I'm trying to recall where I heard a quote that goes something like this. > > "If none of your functions have side effects then all you're doing is > heating up the processor." > > Of course you should avoid side effects in most of your functions, but

Re: quote on side effects

2009-01-05 Thread bOR_
Closest I can get is this quote from a blog (http:// voelterblog.blogspot.com/2008_03_01_archive.html) but I remember it being written nicer somewhere else as well. However, using purely functional programming is also not very useful, since, if we allow no side effects, our program will do nothin

Re: quote on side effects

2009-01-05 Thread Cosmin Stejerean
On Mon, Jan 5, 2009 at 2:48 PM, Mark Volkmann wrote: > > I'm trying to recall where I heard a quote that goes something like this. > > "If none of your functions have side effects then all you're doing is > heating up the processor." > > Of course you should avoid side effects in most of your func

Re: quote on side effects

2009-01-05 Thread Chouser
On Mon, Jan 5, 2009 at 3:48 PM, Mark Volkmann wrote: > > I'm trying to recall where I heard a quote that goes something like this. > > "If none of your functions have side effects then all you're doing is > heating up the processor." > > Of course you should avoid side effects in most of your fun

quote on side effects

2009-01-05 Thread Mark Volkmann
I'm trying to recall where I heard a quote that goes something like this. "If none of your functions have side effects then all you're doing is heating up the processor." Of course you should avoid side effects in most of your functions, but at least one of them needs to have a side effect for m