0%

A Clojure Newbie Guide

Get Started

http://www.clojurenewbieguide.com/

Official Website

Online REPL

Quickest way to Get Started

Install:

  • Java yay -S jdk8-openjdk
  • Leiningen yay -S leiningen

Start a REPL by running:

lein repl

Editor Setup

Document

  • Clojure API Documentation - The official one
  • Clojure Doc - A community-driven documentation for Clojure
  • Clojure Docs - Community-powered documentation and examples repository
  • Grimoire - Community Clojure Documentation

Code Conventions

A community coding style guide is available here.

Exercises

Looking for a Library

Looking for a Cheatsheet

Watch some Awesome Talks

Books

Looking for some intresting discussions

Clojure Distilled

https://yogthos.net/ClojureDistilled.html

Features

  • Immutable
  • Reusable
  • Scalable

Clojure In Action

  • The Core
  • Functions
  • Anonymous Functions
  • Named Functions
  • Higher-Order Functions
  • Closures
  • Threading Expressions
  • Laziness

Code Structure

  • Destructuring
  • Namespaces
  • Dynamic Variables

Polymorphism

  • Multimethods
  • Protocols

    Dealing With Global State

    Writing Code That Writes Code

    The Read-Evaluate-Print Loop

    Calling Out to Java

  • Importing Classes
  • Instantiating Classes
  • Calling Methods