Krzysztof Władyka Clojure Blog
Clojure Blog

Clojure Blog
Author Archive Feed

How to validate form in ClojureScript using spec?

2019-10-30
tags clojurescript spec

How to use spec for form validation and return human understandable errors? Should you at all?

(this article is also a solution for clojure.spec on backend when you need to return human readable errors for invalid values)

Share state - when to use vars, atoms, agents and refs?

2016-04-06
tags atom agent ref

Use cases and flowchart helping decide when to use vars, atoms, agents and refs.

flowchart-share-state.png

How to improve algorithm performance?

2015-08-24
tags performance

I describe how to improve performance based on my real experience during chess challenge. No theory, real use case.

When use exclamation (!) mark in names of functions?

2015-06-19

Naming is a hard thing. What ! really mean in functions names? When to use it?

Template libraries

2015-06-01
tags template

Which template library should you use for web application? Hiccup / Selmer / Enlive?