9. Clojureの名前の由来
Clojure is pronounced exactly like closure, where
the s/j has the zh sound as in azure, pleasure etc.
The name was chosen to be unique. I wanted to
involve c (c#), l (lisp) and j (java).
Once I came up with Clojure, given the pun on
closure, the available domains and vast emptiness
of the googlespace, it was an easy decision.
― Rich Hickey, creator of Clojure
cf. meaning and pronunciation of Clojure
10. Clojure /ˈkloʊʒɚ/
※ NOT /ˈkloʊd͡ʒɚ/
element meaning
/ˈkloʊʒɚ/ クロージャ(closure), 関数型プログラミング
C C#(.NET) as a platform, .NET言語
l Lisp方言
j Java as a platform, JVM言語
28. Javaのclassファイルにコンパイル
jarとして実行可能
$ lein new app demo-app
Generating a project called demo-app based on the 'app' template.
$ cd demo-app/
$ lein uberjar
Compiling demo-app.core
Created /Users/lagenorhynchus/code/demo-app/target/uberjar/demo-app-0.1.0-SNAPSHOT.jar
Created /Users/lagenorhynchus/code/demo-app/target/uberjar/demo-app-0.1.0-SNAPSHOT-standalone.jar
$ java -jar target/uberjar/demo-app-0.1.0-SNAPSHOT-standalone.jar
Hello, World!