What you’ll learn (not in this order)
By the end of Part 1, you will be writing code that looks like this.
(defn add-simple ([ingredient] (add-simple ingredient 1)) ([ingredient amount] (if (simple? ingredient) (dotimes [i amount] (grab ingredient) (add-to-bowl)) (do (println "This function only works on simple ingredients. You asked me to add" ingredient) :error))))
Code is available: lispcast/intro-clojure-1
You can checkout the code in your local repo with this command:
$CMD git clone firstname.lastname@example.org:lispcast/intro-clojure-1.git $CMD cd intro-clojure-1
|Getting Our Feet Wet free||34 min|
|Let's get functional||38 min|
|Deep dive into data||24 min|
In this second part, you begin working in a real project structure and get into functional programming.