Applying Denotational Semantics to design of Programs
I’ve read a bit on denotational semantics (DS) and I’m very intrigued about the process of designing computer programs where types and functions have strong and clear mappings to mathematics.
Can Objective C categories serve the same purpose as Traits do in Scala?
The statement of the question seems little abstract to me, so please read the details below.
Using akka actors with service spring beans
Do you think that using akka actors in front of transactional service beans, is a good idea ?
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/).
How are Scala Traits implemented in the JVM?
I have been reading about traits in Scala. They are pretty amazing. I am curious how they extend a class without actually resulting in multiple inheritance. I know that the JVM doesn’t support multiple inheritance, so I am wondering how these extensions work. Is the language just providing syntactic sugar for composition? Or is the code within a trait duplicated in each class that uses it?
How are Scala Traits implemented in the JVM?
I have been reading about traits in Scala. They are pretty amazing. I am curious how they extend a class without actually resulting in multiple inheritance. I know that the JVM doesn’t support multiple inheritance, so I am wondering how these extensions work. Is the language just providing syntactic sugar for composition? Or is the code within a trait duplicated in each class that uses it?
What are the practical benefits of LISP like syntax which Clojure uses over Java like syntax of Scala?
I spent couple of months learning Scala and got overwhelmed by number of different constructs it had,
After looking at partial functions, partially-applied functions, pattern matching, actor syntax,
I gave a thought to learning Clojure which doesn’t have too much in terms of syntax but looking at the how Java inter-operability is handled, it looks very difficult to get use to.
Node.JS or Scala for mobile and web apps [closed]
Closed 9 years ago.
Is Clojure’s syntax really simpler than Scala’s? [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 […]
How is Nothing a subtype of every other type in Scala
I am taking Martin Odersky’s coursera course on functional programming with scala, and for now I have learned two things that together don’t make sense: