awesome dude!!!  Thanks for the book recommendation...I'll take a look
at those when I can.  Right now I am just eager to get my code
working ;)

On Oct 27, 1:18 pm, Aravindh Johendran <ajohend...@gmail.com> wrote:
> On Oct 27, 8:24 am, Glen Rubin <rubing...@gmail.com> wrote:
>
> > wow, i think you just went way over my head.  First off a very naive
> > question: I thought all clojure programming was functional, as long as
> > you are not using refs, agents, or other mutable values etc...??
>
> You are mostly right. And there are varying degrees of functional
> programming and various associated styles, meaning you can use
> functions to do a lot of things that you didn't think was possible.
> Functional programming is very rich and deep in paradigms and they
> take time to understand and master.
>
> What people refer to as idiomatic clojure, I think, is a style reliant
> on laziness and higher order functions. It makes for clean and
> succinct code. But there is a lot more to functional programming than
> idiomatic clojure.
>
> The example I provided is in what's called the Continuation Passing
> Style. Functions are created on the fly to hold values. It is very
> thought provoking. It is also very basic, meaning it uses nothing more
> than the simplest lisp primitives.
>
> I highly recommend the books Little Schemer and Seasoned Schemer. They
> are fun and a LOT of light bulbs went on in my head. Once you are done
> with those books, terms like Y Combinator, continuations, continuation
> passing style (CPS), etc will not intimidate you. You'll gain an
> appreciation for the core tenets of functional programming.

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to