I have used both Java and Scala for several years, and I have been trying out Kotlin the latest months (for Android only).

I would say it is definitely easier for a developer with primarily Java experience to pick up Kotlin than Scala, especially if that Java experience is predominately pre-Java8. If your primary experience is functional programming like Haskell, O'Caml or F#; then Scala is probably easier to pick up.

Kotlin is gaining traction in Android, since it works well there. Scala is big in Big Data (Apache Spark etc) and to some extent in server/backend.

Kotlin might be a better fit for a desktop UI Java app like Chainsaw.


On 2017-11-11 02:10, Gary Gregory wrote:
I think Kotlin would be more approachable than Scala... thoughts?

Gary

On Fri, Nov 10, 2017 at 3:26 PM, Matt Sicker <boa...@gmail.com> wrote:

On 10 November 2017 at 16:17, Robert Middleton <osfan6...@gmail.com>
wrote:

What would the advantage be of using Scala vs just normal Java?
Mostly from a curiosity standpoint; I've never done Scala so I don't
know it works.


The main advantage I can see is that most of the developers interested in
working on v3 all prefer to work in Scala. I could go on and on about Scala
over Java, but really, my comparison would all come down to functional
programming over object oriented programming. When it comes to shared
libraries like Log4j, I find Java far more appropriate and work in that
space. In a GUI application where there is no real public API? I'd rather
work in Scala. Kotlin was another option, but it seems like none of us
really have experience there.


Did you actually have trouble building?  I'm pretty sure that when I
built it a few months ago I simply opened up the project in Netbeans
and it built immediately as a maven project(although looking at the
POM it does look like it uses ant on the backend for some reason).


Building the project is simple enough. I had issues with:

1. Running mvn clean install does not work by default unless you run "mvn
site:site" before running "mvn install".
2. Doesn't build in Java 9.
3. The maven-release-plugin is not configured at all, so I had to do all
release steps by hand instead.

--
Matt Sicker <boa...@gmail.com>



Reply via email to