Task | Java | Clojure |
---|---|---|
Instantiation | new Widget(“Foo”) | (Widget. “Foo”) |
Instance method | rnd.nextInd() | (.nextInt rnd) |
Instance field | object.field | (.-field object) |
Static method | Math.Sqrt(25) | (Math/sqrt 25) |
Static field | Math.PI | (Math/PI) |
Last active
April 14, 2020 17:40
-
-
Save achilles42/f8e6541c5dd7119293901c8c3ee36c9e to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment