Scala
-

Scala pattern matching: A Case for new thinking?
The 16th President of the United States. Abraham Lincoln once said: ‘As our case is new we must think and…
Read More » -

Dry parameter names
How often do you see code like this, especially when using dependency injection, single-responsibility principle, and other “good practices”? …
Read More » -

Scala: Collections 1
This post contains some info on Scala’s collections. Problem? We want a function that will take an List of Rugby…
Read More » -

Structural (or) Type Safe Duck Typing in Scala
Structural typing as defined by Wikipedia “A structural type system (or property-based type system) is a major classof type system,…
Read More » -

Probability distribution for programmers
This is one of these very simple programming puzzles I came across recently: given a function returning random integers from…
Read More » -

Scala: call me by my name please?
In Java, when frameworks such as log4J became popular in Java architectures it was a common occurence to see code…
Read More » -

Scala: Do you partially understand this?
Nearly everyone who learns Scala can get confused over the word partial used in the contexts: Partial functions Partially applied…
Read More » -

Scala function literals
Functions are an important part of the Scala language. Scala Functions can have a parameter list and can also have…
Read More » -

FactoryPal: New Scala framework for creating objects as test data
FactoryPal is a scala framework that lets you create objects as test data. All you have to do is define…
Read More »
