The fresh and new issue of Software Developer’s Journal out now!
Software Developer’s Journal presents ‘More than just Scala’, a huge compilation of knowledge on Scala and it’s components!
Read about old and new solutions on in our magazine.
Common Hurdles on the Way to Scala
by Daniel Sobral
The last few years saw an explosion of JVM-based languages. Scala is one of the few among them that seem poised to become mainstream in the next few years. Learning Scala, however rewarding, is not without its hurdles, though.
Scala Design Heuristics: A quick guide to design a program in Scala
by Vinicius Miana
Scala is both a functional and object-oriented language, bringing the possibility to mix functional and object oriented design strategies together. With great power, comes great responsibility, this article presents a series of design rationales to help design a Scala program.
Static or Dynamic Typing? Why not Both?
by Mario Camou
In this article I will talk about the differences between static and dynamic languages and their relative strengths and weaknesses, and attempt to show that there is no one-size-fits-all solution and that they can peacefully coexist. I will then show some examples of static and dynamic language interoperability on the JVM, concentrating on Scala (on the static side) and JRuby (on the dynamic side). Finally, I will talk about a library called Scuby that I developed in the course of my work to make the interaction between these two easier to work with.
by Jon Pretty
What is the motivation for avoiding repetition? A naive view is that good implementation of the DRY principle means fewer lines of code, and thus fewer dark places in which bugs can hide. Perhaps more accurately, having a single source within your program for any piece of information, any rule, algorithm or structure, eliminates the risk that any two sources might be inconsistent. And this is a genuine risk when software – by its very nature – is so changeable, providing frequent opportunities to lose self-consistency, particularly in larger projects.
Akka Futures With A Simple Example
by Metu Malitar
In this article we are going to learn direct usage of Futures with a simple and easy to understand example. Futures are monadic in nature meaning we can compose them thus leading to asynchronous composition. Finally, we use ‘for expressions’ to do the same thing.
Behavior Driven Development of a JAX-RS service in Scala
by Jordi Pradel
One of the reasons many people choose Scala is because it is very easy to use Java libraries from Scala. A good example would be the JAX-RS API. In this article we will se how to implement a JAX-RS service in Scala leveraging our previous knowledge about JAX-RS
Creating Comet based rich interactive applications with LiftWeb
Liftweb is an elegant, designer friendly and arguably the most powerful web framework that provides developers ability to create secure, scalable, maintainable, rich and interactive web applications. It is built on the top of Scala and takes View-First approach rather going via the standard Model- View-Controller way.
Monads In Scala
by Myank Bairagi
In this article we are going to learn direct usage of Monads with a simple and easy to understand example. Here we will build a prototype to understand the concept, instead of a step by step explanation.
Understanding Play Templating In Scala with Twitter Bootstrap
by Ruchi Jindal
Play is an open source web application framework, written in Scala and Java, which follows the model–view–controller (MVC) architectural pattern. Play is based on a lightweight, stateless, web-friendly architecture. Scala and more
Acceptance Test Driven Development in Scala
by Vikas Hazrati
If you are doing extreme programming, you surely would be practicing Test Driven Development. As extreme programmers, you begin development by writing a failing executable unit test which demonstrates that the existing code base does not exhibit some behavior. Once you have the failing test, you write just enough code to make the test pass. Once the test is passing, you clean up the code to make the code more readable, extensible and in general have a good design.
Scala is like GIT
by Sander Mak
Scala is often portrayed as being too complex. Many times these discussions about complexity remind me of similar arguments around the complexity of Git. I know, the comparison between a source control system and a programming language falls flat quickly when pushed too hard. But bear with me, because I do believe it can put the Scala complexity discussion in a new perspective.
Tagged with: Acceptance Test Driven Development • Akka Futures • Behavior Driven Developmen • Design Heuristics • DRY • Dynamic Typing • GIT • Java • Java libraries • JAX-RS • JRuby • JVM • JVM-based • LiftWeb • Model-View-Controller • Monads • MVC • one-size-fits-all solution • rich interactive applications • Scala • Static Typing • Test-driven development • View-First • web-friendly architecture
Comments are closed.