> Are data types bound to variables and parameters at compile-time? run-time? a > combination? > > Clojure, like LISPs in general, is primarily a dynamically-typed language, so variables/parameters don't have a type assigned to them. However, on JVM Clojure there are optional type hints, which constrain the type at compile time.
> > How are parameters passed? (Pass by value? Pass by reference? Pass by > value-result? etc.) > > Clojure inherits the argument-passing semantics from Java. So it is pass-by-value, where the value passed is an object reference. In addition there are optimization facilities that enable the passing of primitive-typed values. -marko > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.