While Clojurescript aims to be close to Clojure, they're still different languages, with entirely different compilers. Much of the Clojure toolchain uses the extension to figure out how to compile a given file. Otherwise, as far as I know there's no reasonable way to tell apart Clojure code from Clojurescript code.
On Fri, Oct 19, 2012 at 9:24 AM, Mamun <mamuni...@gmail.com> wrote: > Hi All, > > I've just started to learn Clojure and interested to see more ClojureScript. > It is really nice stuff- data structure, function and code sharing. But Is > there any reason to make different file extension (*.clj and *.cljs) for > Clojure and ClojureScript? > > Regards, > Mamun > > -- > 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 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