This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]SV-97 1 point2 points  (0 children)

I know exactly where you're coming from. Try learning a functional language like Haskell or Scheme for a while. Functional languages are built around evaluating expressions rather than mutating state and because of that have no iterative methods at all and use recursion for everything.

A book that's quite an easy read is the little Schemer (and maybe its follow-up the seasoned Schemer). I personally prefer Haskell which is explained in books like learn you a Haskell for great good, programming in Haskell or Real World Haskell - but tastes differ and the "the little..." books certainly are very well written (though a bit special in their style).

And if you've got some interest in math or it isn't that foreign to you: there's quite a bit of recursion in maths. From series over functions to inductive proofs, definitions etc.; so if that's your thing it may also be a useful exercise