Repository of related materials to the workshop
Table of contents
- Expressiveness — when a language allows you to put more meaning with less code. It is not just about concision, but also precision, readability, flexibility and potential for abstraction.
- Everything is an expression. Most languages has both statements and expressions, which you can not really combine together, but in Lisp everything is an expression. A single uniform interface allows to compose everything naturally. Take for example Lego blocks: you can build whatever you want easily because those blocks are following the same rule of composition.
- An expression is either a single value or a list. There are single values like strings and numbers. But function calls and list data structure are all lists. So basically the whole point of writing a Lisp program is to combine together lists of lists and single values. This gives the same power of composition similar to expressions.
- Functional programming. Lisps are considered to be functional languages (there are also OOP capabilities). It means they are focused on avoiding data mutation and state. This allows developers to build truly reusable components and structure programs in a clean way. You can see that all new programming languages are mostly functional, so we can say that functional programming style has proved to be a good tool when building software.
The list above is inspired by an article “Why Racket? Why Lisp?”.
It's nice to know the following...
- React.js library (learn)
- State management solutions like Flux (learn)
- A concept of immutability (learn)
- Basics of functional programming (learn)
You have to be prepared for the workshop, so we don't have to waste time for this.
Make sure you have Java 1.6 or greater.
Install via Homebrew:
brew install leiningen or other package managers.
Or using shell script:
- Download the lein script (or on Windows lein.bat)
- Place it on your
$PATHwhere your shell can find it (eg.
- Set it to be executable (
chmod a+x ~/bin/lein)
- Run it (
lein) and it will download the self-install package
Or with Windows installer.
brew install rlwrap
- Clone the repo: https://github.com/hanslub42/rlwrap
./configure make make install
npm i -g lumo-cljs
brew install lumo
Configure your editor
- Community Resources
- ClojureScript REPL
- ClojureScript Synonyms
- ClojureScript Cheatsheet
- ClojureScript API
- The Clojure Style Guide
- Quickref for Clojure Core
- ClojureScript Tutorial
- ClojureScript Koans
- Video course (RU)
- Clojure Jobs
- ClojureScript Unraveled
- ClojureScript: Up and Running
- Clojure for the Brave and True
- Casting SPELs in Lisp
- Land of Lisp
- The Little Schemer
- The Seasoned Schemer