|
|
|
|
|
by dgb23
1581 days ago
|
|
There are some things that you eventually want to learn. One of them is the underlying data types. For example if you use Clojure on the JVM you are dealing with Java strings, if you use a JavaScript runtime with ClojureScript, then you get JavaScript strings. The tutorial showcased here runs on ClojureScript for example. So: (reverse "abc") Becomes: ("c" "b" "a") In ClojureScript. But in Clojure it becomes: (\c \b \a) Since Java has a character type but JavaScript doesn't. It's little things like this that. The benefit here is superb interop, but in turn you aren't as isolated from the host language as you would be in another language. |
|