Skip to content

Getting familiar with Clojure Clojurescript

codeGlaze edited this page Feb 4, 2021 · 2 revisions

This is a work in progress and I'll be adding things as we learn them or realize they'll be sore points for new CLJ/S volunteers

#Getting familiar with the eccentricities of CLJ/S

"Shorthand" in macros

Source: clojure-doc

You'll notice in a lot of the files the use of macros defined as defmacro. Macros in clojure and clojurescript use shorthand characters for a lot of inline manipulation. These are those characters. You can follow the link above to to get a much further in-depth explanation of what they do.

  • Quote (')
  • Syntax quote (`)
  • Unquote (~)
  • Unquote splicing (~@)