Case Class naming convention [closed]
Closed 9 years ago.
How to read Scala code with lots of implicits?
Consider the following code fragment (adapted from https://stackoverflow.com/a/12265946/1333025):
Why does Scala require functions to have explicit return type?
I recently began learning to program in Scala, and it’s been fun so far. I really like the ability to declare functions within another function which just seems to intuitive thing to do.
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?
Functional Methods on Collections
I’m learning Scala and am a little bewildered by all the methods (higher-order functions) available on the collections. Which ones produce more results than the original collection, which ones produce less, and which are most appropriate for a given problem? Though I’m studying Scala, I think this would pertain to most modern functional languages (Clojure, Haskell) and also to Java 8 which introduces these methods on Java collections.
What is a good use case for scala? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]
Why do generics in Scala have erased types, and are not reifiable?
Why do generics in Scala have erased types, and are not reifiable?
null values vs “empty” singleton for optional fields
First of all I’m developing a parser for an XML-based format for 3D graphics called XGL.
But this question can be applied to any situation when you have fields in your class that are optional i.e. the value of this field can be missing.
Scala as a language for Generic Programming
In the paper “An Extended Comparative Study of Language Support for Generic Programming” by Garcia et al. an interesting comparison of programming languages features for generic programming is given:
The idea of functionN in Scala / Functionaljava
From brain driven development