I think it comes down to the following: 1) STM, for many applications, STM is a major plus (F# doesn't have STM currently) 2) The LISP syntax can be quite freeing once you learn it 3) Clojure is a dynamic language, unlike F# and C#
Now here's the kicker. Depending who you talk to, all of these can be "cons" as well as "pros". Dr. Cliff Click and Rich Hickey have had some rather friendly arguments over STM and its usefulness in large applications. The LISP syntax can be viewed as a bad thing. I for one struggle with it from time to time. I personally haven't decided if I think the LISP syntax is a pro or a con. And the dynamicness of Clojure can be considered a bad thing performance-wise. Many benchmarks will show Clojure trailing a bit behind C# in pure number crunching performance. So it goes down to using the tool that fits. My parents built a house years ago that uses steel for all the internal structure. The thing is rock solid, and if it got hit with a tornado it would probably still be there. But you know what? Hanging a mirror on the wall ends up being an hour long process because you have to drill into a metal beam before hanging the picture. Is steel better than wood? Ask 10 people and you'll get 12 answers. It's all in the style of the project, and your goals. Timothy On Thu, Feb 10, 2011 at 3:48 PM, Bojan Jovicic <bojan.jovi...@gmail.com> wrote: > Dear all, > I wish to thank you for your answers. > > I am sorry for confusion because of my generic questions. We are > learning Clojure at University, and are looking for some nice example > of integrating it with one ERP system that has .NET integration > capability, so my question was directed at getting more insight about > following: > > 1) What would be the potential reason to use functional languages > (Clojure, F#, ...) vs .NET (because this is the context of this ERP > integration mechanism) non-functional languages (C#) with LINQ (a > Monads implementation as Paulo pointed)? > 2) Are there potential advantages of Clojure over F#? > > Thank you all, once again :) > > On Feb 10, 5:32 pm, Paulo Pinto <paulo.jpi...@gmail.com> wrote: >> Hi, >> >> I got the impression that you don't know .Net. >> >> .Net is a VM similar to what the JVM offers, there are many functional >> languages that >> target .Net as well. >> >> Microsoft's own functional language F# >> Currently VB.Net and C# provide functional programming constructs >> LINQ is actually an implementation of Monads >> There is OCaml for .Net >> There are efforts in place to target Scala to .Net >> And many other functional languages, that I have omitted. >> >> Oh lets not forget that there is Clojure being developed for .Net as >> well. >> >> So I suggest that you rethink the scope of your question. >> >> -- >> Paulo >> >> On Feb 9, 6:48 pm, Bojan Jovicic <bojan.jovi...@gmail.com> wrote: >> >> >> >> >> >> >> >> > Dear all, >> > what are in your opinion 3 biggest advantages that Clojure and >> > functional languages have over .NET, with focus on LINQ? >> >> > E.g. I thought of set functions, but this is supported in LINQ. >> >> > Any help is more than welcome for this student research. > > -- > 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 -- “One of the main causes of the fall of the Roman Empire was that–lacking zero–they had no way to indicate successful termination of their C programs.” (Robert Firth) -- 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