Hello World in Clojure
Every programming journey starts with Hello World. Let’s write our first Clojure program and discover the elegance of this modern Lisp.
The Code
Create a file named hello.clj:
| |
Every programming journey starts with Hello World. Let’s write our first Clojure program and discover the elegance of this modern Lisp.
Create a file named hello.clj:
| |
Clojure approaches “variables” differently than most languages. As a functional Lisp, Clojure emphasizes immutable values and bindings rather than mutable variables. Understanding this …
Read more →In most languages, operators are special syntactic forms distinct from regular function calls. In Clojure — as in all Lisps — operators are just ordinary functions called using prefix notation. +, -, …
Showing 1–3 of 3 posts (page 1 of 1)