robots.thoughtbot.com
Tips for Clojure Beginners
https://robots.thoughtbot.com/tips-for-clojure-beginners
Tips for Clojure Beginners. May 08, 2014. 1 Learn the essentials with Clojure Koans. Teaches you the basics of the language by providing a series of tests for you to turn green. The topics and tests are chosen well, and the project’s vibe is pleasant (“calling a function is like giving it a hug with parentheses”). Open a koan. Make it pass. Meditate. Enjoy enlightenment. 2 Move on to 4Clojure problems. Is a great way to become familiar with Clojure’s many built-in functions. 3 Read a book or two. When wr...
clojurescreencasts.com
Introduction - Koans Walkthrough | Learn Clojure - ClojureScreencasts.com
http://www.clojurescreencasts.com/koans-walkthrough/01.html
1 Introduction - Koans Walkthrough. This first video serves as an introduction to the koans and our use of the Light Table IDE. Created by Chris Granger. Then we proceed through solving the first koans source file, covering Equalities. Here is the 01 equalities.clj. We shall contemplate truth by testing reality, via equality.". To understand reality, we must compare our expectations against reality.". You can test equality of many things". Some things may appear different, but be the same".
clojurescreencasts.com
Maps - Koans Walkthrough | Learn Clojure - ClojureScreencasts.com
http://www.clojurescreencasts.com/koans-walkthrough/05.html
5 Maps - Koans Walkthrough. This video covers the map (hashmap) data structure. Maps store keys and values, and Clojure provides many innovations making them a pleasure to use. Here is the 05 maps.clj. A nil :b nil} :b) "Or if it is missing" (= (contains? Clojure Koans Walkthrough in Light Table IDE. Clojure Koans: http:/ clojurekoans.com/. On Github: https:/ github.com/functional-koans/clojure-koans/. Light Table IDE: http:/ www.lighttable.com/.
clojurescreencasts.com
Conditionals - Koans Walkthrough | Learn Clojure - ClojureScreencasts.com
http://www.clojurescreencasts.com/koans-walkthrough/07.html
Higher Order Functions →. 7 Conditionals - Koans Walkthrough. This video covers conditionals, such as: if, case and cond. Here is the 07 conditionals.clj. You will face many decisions". Some of them leave you no alternative". And in such a situation you may have nothing". In others your alternative may be interesting". You may have a multitude of possible paths". Or your fate may be sealed". In case of emergency, sound the alarms". But admit it when you don't know what to do".
clojurescreencasts.com
Destructuring - Koans Walkthrough | Learn Clojure - ClojureScreencasts.com
http://www.clojurescreencasts.com/koans-walkthrough/14.html
14 Destructuring - Koans Walkthrough. This video introduces destructuring, which provides a concise way to initialize multiple variables with values from a complex structure. It is also called "abstract structural binding", destructuring bind or destructuring assignment. We'll learn how it can help us make our code more elegant. Here is the 14 destructuring.clj. Destructuring is an arbiter: it breaks up arguments". Whether in function definitions". First comes love, ". Then comes marriage, ". Clojure is ...
clojurescreencasts.com
Creating Functions - Koans Walkthrough | Learn Clojure - ClojureScreencasts.com
http://www.clojurescreencasts.com/koans-walkthrough/12.html
Larr; Sequence Comprehensions. 12 Creating Functions - Koans Walkthrough. This video introduces some sleek ways to create functions, with tools such as "complement", function composition and partial application. Clojure really does let you write code in a "point free" style. Here is the 12 creating functions.clj. One may know what they seek by knowing what they do not seek". Praise and 'complement' may help you separate the wheat from the chaff". Partial functions allow procrastination".
clojurescreencasts.com
Runtime Polymorphism - Koans Walkthrough | Learn Clojure - ClojureScreencasts.com
http://www.clojurescreencasts.com/koans-walkthrough/09.html
Larr; Higher Order Functions. Lazy Sequences →. 9 Runtime Polymorphism - Koans Walkthrough. This video covers runtime polymorphism. You can dispatch functions based on arity (number of parameters), or anything else through the power of multi-methods. Here is the 09 runtime polymorphism.clj. Hello, you silly ". Hello to this group: ". Some functions can be used in different ways - with no arguments". Or with many arguments". Multimethods allow more complex dispatching". Bambi eats veggies.".
clojurescreencasts.com
Higher Order Functions - Koans Walkthrough | Learn Clojure - ClojureScreencasts.com
http://www.clojurescreencasts.com/koans-walkthrough/08.html
Runtime Polymorphism →. 8 Higher Order Functions - Koans Walkthrough. This video covers higher order functions, such as map, reduce and filter. Here is the 08 higher order functions.clj. The map function relates a sequence to another". You may create that mapping". Or use the names of existing functions". False false true false false]. A filter can be strong". Or somewhere in between". Maps and filters may be combined". Reducing can increase the result". You can start somewhere else".