Quantcast
Channel: LispCast
Browsing all 4 articles
Browse latest View live

When To Use a Macro in Clojure

Macros should be avoided to the extent possible. There are three circumstances where they are required. <λ>

View Article



Lisp with Macros is Two Languages

Lisp with macros can be seen as two languages, each with different semantics. The base language can be interpreted directly, whereas the result of interpreting the macro language is to produce a new...

View Article

Try Three Times

Distributed systems fail in indistinguishable ways. Often, retrying is a good solution to intermittent errors. We create a retry macro to handle the retries in a generic way. Read full post

View Article

Exponential Backoff

A common failure in distributed systems is a server with a rate limit or with no limit but begins failing due to load. A standard solution is to retry after waiting a small time, increasing that time...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images