Tagged Questions
4
votes
4answers
412 views
Why does scala use the '_' operator for package import instead of '*' as in java?
In my opinion, one of the greatest things about Scala is it's interoperability with Java and its similar syntax. One thing that I found strange is the use of the _ operator for package wilcard imports ...
64
votes
6answers
4k views
What's the difference between Scala and Red Hat's Ceylon language?
Red Hat's Ceylon language has some interesting improvements over Java:
The overall vision: learn from Java's mistakes, keep the good, ditch the bad
The focus on readability and ease of learning/use
...
33
votes
8answers
2k views
Is memory management in programming becoming an irrelevant concern?
Background
I revisited an old (but great) site I had not been to for ages - the Alioth Language Shootout (http://benchmarksgame.alioth.debian.org/).
I started out programming in C/C++ several years ...
22
votes
5answers
6k views
Performance of Scala compared to Java
First of all I would like to make it clear that this is not a language-X-versus-language-Y question to determine which is better.
I have been using Java for a long time and I intend to keep using it. ...
24
votes
5answers
7k views
Is Groovy going away? [closed]
I am sure this question has been asked many times. However, I like to ask it again with the intention of what is the future of these languages.
I was first introduced to Groovy and really liked it. I ...
11
votes
2answers
607 views
How will the new development of Java influence its interoperability with languages like Scala and Clojure?
As far as I understand, both Scala and Clojure have been designed as new languages that
depend on the JVM, and
easily integrate with Java code, in the sense that they allow to use Java classes ...
4
votes
2answers
232 views
Decision for Unchecked Exceptions in Scala
As a java programmer, I have always been critical of Unchecked Exceptions. Mostly programmers use it as an en-route to coding easiness only to create trouble later. Also the programs (though untidy) ...
1
vote
1answer
569 views
Play 2 with Scala or Java? [closed]
I want to develop a big personal project using Play 2 Framework.
I am expert with Java language but it seems, with the few articles I read that Play 2 works perfectly and especially with Scala.
I've ...
17
votes
5answers
1k views
How do you encode Algebraic Data Types in a C#- or Java-like language?
There are some problems which are easily solved by Algebraic Data Types, for example a List type can be very succinctly expressed as:
data ConsList a = Empty | ConsCell a (ConsList a)
consmap f ...
5
votes
1answer
285 views
Can Scala be considered a functional superset of Java?
Apart from the differences in syntax, can Scala be considered a superset of Java that adds the functional paradigm to the object-oriented paradigm?
Or are there any major features in Java for which ...
3
votes
1answer
220 views
Constraints while designing the Java generics
Java generics look quite different from those available in Scala, although both were designed by Martin Odersky. From my point of view, the design of generics in Java is worse, for instance:
there ...
15
votes
7answers
1k views
How do I kick-start my migration from Java to Scala?
In Scala, what are the essential areas that beginners (in my case, I migrating from Java) has to learn to master the language?
Regardless of the method of learning (e.g., books, reading blogs, ...
7
votes
6answers
2k views
What unit test frameworks exist for Java?
I've used TestNG and JUnit. What other frameworks are out there? What makes them special and/or different from the rest?
6
votes
4answers
526 views
scalablity of Scala over Java
I read an article that says Scala handles concurrency better than Java.
http://www.theserverside.com/feature/Solving-the-Scalability-Paradox-with-Scala-Clojure-and-Groovy
...the scalability ...
12
votes
4answers
4k views
Why Use Scala over Java
I am totally into Scala as a language ... and still I struggle with why any company should switch from Java to Scala. Is Scala just syntatic sugar on top of the JVM or are there fundamental ...