File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Scale or Clojure

 
Bob Reardon
Ranch Hand
Posts: 161
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been looking at Scala for a while. I have recently started to hear more about Clojure. Does anyone have a feeling for which of these languages is gaining traction?
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Clojure is a Lisp-like, pure functional programming language. It's farther removed from Java than Scala is. Clojure isn't even object-oriented.

I think there are more people who are seriously looking at Scala as an alternative to Java than at Clojure.

Nevertheless, Clojure is still an interesting language for which there's a lot of attention at the big Java conferences the past few years.
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Clojure is a functional programming language but not a pure language (not like Haskell).
Scala will absolutely challenging you but you will grasp it faster than Clojure as it blends FP and OOP, Clojure will force you to think functionally immediately.
Both are amazing and absolutely joyful, you aren't going to waste your time if you learned both.
I took the Clojure route
 
Samuel Cox
Ranch Hand
Posts: 96
Scala Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been using Scala at work for around 2 years now. While it has been a fairly decent uphill battle, I am fairly confident that Clojure would have been rejected without a thought. Of course, that doesn't mean Clojure is bad. I'm just giving you my guess about my work situation.

I think a big thing that could help Scala is that you can write code that looks a lot like Java. However, as I get more comfortable with Scala, the desire to do things more Scala-like grows;)

A big Scala complaint has been IDE tooling. From what I know, IntelliJ is pretty good, but many people want Eclipse. Supposedly, Scala's creator, Martin Odersky, has recently become personally involved with getting Scala and Eclipse to play nice. For me, I generally do not write Scala code in an IDE. I use Vim + Maven + SBT. However, I use Eclipse to debug Scala code. A co-worker does almost all his Scala development in IntelliJ.

One other thing, I am doing fairly straightforward work with Scala. A lot of times I see Scala mentioned, the conversations seem more Haskell-like than Java-like. I hope this doesn't turn people off to the fact that you can use Scala as Java + some nice control structures + closures, which are things most new languages seem to have.

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think in order to be a much better Scala programmer, you have to play with Haskell for some time (which it is absolutely rewarding).
Same thing can be said about Lisp and Clojure. In fact I bought "Land of Lisp" to get the Lispy sense.
 
Samuel Cox
Ranch Hand
Posts: 96
Scala Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
John Todd wrote:I think in order to be a much better Scala programmer, you have to play with Haskell for some time (which it is absolutely rewarding).


I totally agree. I think every programmer should try to get their minds around Haskell. If nothing else, they might be exposed to one of the best programming tutorials on the web (http://learnyouahaskell.com/). Personally, I have dabbled in Haskell (college, Euler problems and XMonad configuration).

I just meant that the Scala community needs to be mindful of the face it's putting forward. In the world of twitter, facebook, etc., it doesn't take much for people to go negative about any particular thing. Unfortunately, being associated with Haskell/Lisp/Lisp-derivatives/etc. might be viewed as a negative. At least for me, it's reality.
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the spirit of these wonderful resources, this one is for Erlang: http://learnyousomeerlang.com/
 
Bob Reardon
Ranch Hand
Posts: 161
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Samuel and John. I have been working through the tutorials for Haskell and erlang. What got me interested in Scala and Clojure was how they dealt with concurrency.

-Bob
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic