Eric Normand Courses/B01 Introduction to Clojure (old version)

Learn Clojure with fun and interactive lessons

Want to learn Clojure? It doesn't have to be hard!

Maybe you've heard of Clojure. Maybe you even tried to learn it. If you did, you may have had some of these problems:
  • Trouble getting Clojure installed and working
  • What text editor should you use?
  • The syntax is foreign and strange
  • There's so much to learn
  • What practical thing can you even build?
These problems are hard to figure out on your own, and many tutorials skip over these. Wouldn't it be nice if you had:
  • A clear guide to installing Clojure on your system
  • A great text editor without installing anything new
  • A gentle introduction to the syntax without dwelling on it
  • Someone teach you just what you need to learn right when you need it
  • A fun, engaging activity to get you programming right away

  • $48

B01 Introduction to Clojure (old version)

  • Closed

Introduction to Clojure is a gentle tutorial for Clojure. It will get you started quickly and painlessly. You'll teach a robot how to bake cookies, cake, and brownies--and learn Clojure along the way!

This is the updated and expanded course that has been used by hundreds of people to learn Clojure over the years.

  • $48

B01 Introduction to Clojure (old version)

  • Closed

Contents

Introduction
Preview

Day 1

Introducing X5 and JC
Preview
Working with the REPL
Defining functions
Defining a bake-cake function
Conditionals
Defining scooped?
Defining squeezed?
Defining simple?
Defining ingredient types
Looping a number of times
Using the plural functions
Variadic functions
Baking with variadic functions
Bake cookies function
Day 1 Conclusion

Day 2

Running Leiningen projects
Error function
Refactoring errors
Bakery locations
Scooped?, squeezed?, and simple? refactor
Fetching ingredients
Fetch ingredients generic
Maps
Fetching a shopping list
Refactoring fetch-list
Refactoring locations
A day at the bakery
Analyzing a day at the bakery
Functional programming
Into
multiply-ingredients
order to ingredients
orders to ingredients
Making one shopping trip
Making one delivery
Day 2 conclusion

Day 3

Day 3
Add cocoa
Baking brownies
Analyzing recipes
Starting the database
Perform
Mix step
Pouring and baking
Adding ingredients
Bake recipe
Generic bake function
Adding all recipes
Cleaning up order to ingredients
Ingredients in the database
Refactoring scooped, squeezed, and simple
Generic fetch ingredient
Refactoring fetch-list (again)
Make storage-location more useful
Redefining add
Defining actions
Refactoring perform
Conclusions

Appendices

Appendix: Creating a Leiningen project

  • $48

B01 Introduction to Clojure (old version)

  • Closed