
scala
Get flash to fully experience Pearltrees
macros
scaladays2012
This lesson covers testing with Specs, a Behavior-Driven Design ( BDD ) Framework for Scala. extends Specification nested examples Execution Model Setup and TearDown doFirst doBefore doAfter Matchers mustEqual contains sameSize? Write your own Mocks Spies run in sbt extends Specifcation Let’s just jump in. import org.specs._ object ArithmeticSpec extends Specification { "Arithmetic" should { "add two numbers" in { 1 + 1 mustEqual 2 } "add three numbers" in { 1 + 1 + 1 mustEqual 3 } } }
Scala School - Testing with specs
Scala 2.8 Collections API -- Performance Characteristics
Effective Scala
Table of Contents Other languages 日本語 Русский 简体中文 Introduction Scala is one of the main application programming languages used at Twitter.Other Languages: Русский About Scala school started as a series of lectures at Twitter to prepare experienced engineers to be productive Scala programmers. Scala is a relatively new language, but draws on many familiar concepts. Thus, these lectures assumed the audience knew the concepts and showed how to use them in Scala. We found this an effective way of getting new engineers up to speed quickly.
Scala School
collections
Escalate software is in the process of creating a series of screencasts for Scala information sharing and training purposes. The first available screencasts are provided here for free and cover the new features of Scala 2.8. In the longer term we will create training materials in the form of these videos along with supporting material that will be for sale from this and other sources as well.
Escalate Software
scalafx
sbt
continuations
jpa
Functional Scala: Essential list functions
In the last two episodes we came up with the basic idea of persistent (read immutable) list-like data structures and how to construct and deconstruct (read pattern match) them using a sugarized notational form. We also talked big about their non-destructive nature when it comes to e.g. updating a given list or removing some elements. In this episode, we’ll finally inspect some of those commonly used list functions.wip experiment | Scala IDE for Eclipse Space | Assembla
The easy and digestable way to understand view in Scala
Betting Exchange Research Blog: Moving from Java to Scala - One year later...
Reading this Scala evaluation please put a bit of attention to what is it about and what it is not. For sure, I'm not trying to examine Scala just by looking only at its design, syntax and other language capabilities. Instead of that, I'm aiming to answer the questions raised in the introduction above.lift
Scala Examples - Advanced
To compile and run on Windows one of the above Scala programs, let's say sort.scala , we can simply proceed as follows: > mkdir classes > scalac -d classes %SCALA_HOME%\doc\scala-devel\scala\examples\sort.scala > scala -cp classes examples.sort [6,2,8,5,1] [1,2,5,6,8] The name of the Scala executable is examples.sort where examples is the name of the package containing the sort object.actors
Querying a Dataset with Scala's Pattern Matching
This post is about matching patterns against collections, combining patterns in interesting ways and defining patterns in terms of other patterns. Patterns defined in this way look and feel like a lightweight, domain specific query language. Very little supporting code is required. A Dataset and a Queryakka
Update to this post: I have upgraded the examples to Akka 1.0-RC1. this newer post might be more helpful. I recently started playing around with Scala. I had read a lot about Scala before but never got around really doing anything with it. I was looking for some (probably Java) libraries that would make a couple of things really easy: Easy concurrency Interop with Java or in Java Distributed computing nodes Event driven Highly scalable Low bandwidth usage for communicating between nodes (so no XML) Pluggable data format Easy development of message exchanges, asynchronous, one way, two way, synchronous, etc Possible (but hopefully not necessary) distributed state/database Reliable when failures happen Easy integration with a range of communication protocols / endpoints At first I found BSON as a data format, as part of the mongodb project. Quick after that I found Google Protobuf which was a better candidate for me.

