's Picture

Yehonathan Sharvit

Developer. Author. Speaker.

  • Blog
  • Talks
  • About
  • Contact
  • Search
  • Testimonials

Discover my book!
DISCOUNT CODE: sharvit39
May 4, 2016

Clojure Macros Tutorial - part 2: how not to write macros

After having understood the fundamental difference between functions and macros, we are now ready to write our first macro.

clojure

May 1, 2016

Clojure Macros Tutorial - part 1: functions vs. macros

Clojure as any other LISP language is homoiconic: the code written in the language is encoded as data structures that the language has tools to manipulate.

clojure

April 26, 2016

The power and danger of deftype in clojure and clojurescript

In clojure, records, types and protocols are parts of the fundamental building blocks of the language. We have talked about defrecord here: records are wacky maps and we have unveiled deprotocol secret there: defprotocol’s secret.

clojure

April 25, 2016

In Clojure, records are wacky maps

In clojure, records, types and protocols are parts of the fundamental building blocks of the language.

clojure

April 19, 2016

3 ways to generate Lazy Fibonacci sequences in Clojure

Generating the Fibonacci sequence is a good exercise to illustrate the concept of lazy sequences in Clojure. In this article, we will present 3 ways to create a lazy Fibonacci sequence:

clojure

April 13, 2016

Deep into clojurescript function call mechanisms: static vs. dynamic dispatch

;; this is a workaround: currently a page with only transpiled snippets dont work (+ 1 2)

clojurescript

April 11, 2016

IFn's magic beyond defprotocol secret

In this magic post, we showed how to make a type in clojurescript behave like a function by extending the IFn protocol.

clojure

April 9, 2016

Clojurescript defprotocol's secret

In this precedent post we have presented the skeleton of the javascript transpiled code of defrecord + deftype when they work together.

clojurescript

April 7, 2016

Extend IFn protocol like if you were part of clojurescript core team

In Clojure, the language itself is modifiable

clojure

April 4, 2016

Self-Hosted Clojurescript in action - Part 1

ClojureScript can compile itself

clojure clojurescript

Newer Posts Page 15 of 17 Older Posts

Yehonathan Sharvit © 2026.

Back to top