Some interesting facts

Clojure code compared to other languages

Example of Hello World app in some languages

Clojure

(ns clojure.examples.hello
  (:gen-class))
(defn hello-world []
  (println "Hello World"))
(hello-world)

Java

class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello, World!");
    }
}

Ruby

puts "Hello world!"

Last updated