Languages

  • submit to reddit

CRUD Options in Scala

 Here’s a blog post exploring the different CRUD approaches in your Scala code. I will show you three different approaches, highlighting the...

0 replies - 1771 views - 11/14/12 by Jan Machacek in Articles

Clojure: Using given & expect To Replace Scenarios

 The functionality in expectations.scenarios was borne out of compromise. I found certain scenarios I wanted to test, but I wasn't sure how to easily...

0 replies - 1620 views - 11/14/12 by Jay Fields in Articles

Understanding foldLeft in Scala

 As I’m working on some scala code the last few weeks, i have come across some functions in the scala api that I didn’t understand right away. One...

4 replies - 2542 views - 11/12/12 by Jelle Victoor in Articles

Clojure: Use expect-let To Share A Value Between expected And actual

 Most of the time you can easily divorce the values needed in an expected form and an actual form of an expectation. In those cases, nothing needs to...

0 replies - 1425 views - 11/11/12 by Jay Fields in Articles

Two Actors - Discovering Akka

 Hope you are having fun so far, but our application has serious performance defect. After measuring response times of the RandomOrgRandom class we...

0 replies - 1372 views - 11/11/12 by Tomasz Nurkiewicz in Articles

Scala Cheatsheet Part 1 – Collections

As a follow-up of point 4 of my previous article, here’s a first little cheatsheet on the Scala collections API. As in Java, knowing API is a big step in...

0 replies - 3956 views - 11/11/12 by Nicolas Frankel in Articles

Clojure: Interaction Based Testing Added To Expectations

 The vast majority of testing I do these days is state-based; however, there are times when I need to test an interaction (e.g. writing to a file or...

0 replies - 1482 views - 11/10/12 by Jay Fields in Articles

Clojure: Freezing Time Added To Expectations

If you're using expectations and Joda Time, you now have the ability to freeze time in bare expectations (version 1.4.16 and above). The following code...

0 replies - 1655 views - 11/09/12 by Jay Fields in Articles

Request and Response - Discovering Akka

In the previous part we implemented our first actor and sent message to it. Unfortunately actor was incapable of returning any result of processing this...

0 replies - 2293 views - 11/08/12 by Tomasz Nurkiewicz in Articles

My View on Coursera’s Scala courses

I’ve spent my last 7 weeks trying to follow Martin Odersky’s Scala courses on the Coursera platform. In doing so, my intent was to widen my approach on...

1 replies - 4611 views - 11/05/12 by Nicolas Frankel in Articles

Weekly Poll: Sans JVM?

A few weeks ago, we asked which programming language you'd use if Java weren't an option. JVM languages, especially Scala and Groovy, were the overwhelming...

6 replies - 9191 views - 11/02/12 by Bill Armstrong in Articles

Duck Typing: The Duck Always Bites Twice

These days I’m noticing myself saying more and more frequently that Duck Typing is great, except when it’s not. An amusing issue that briefly cropped up...

0 replies - 3382 views - 10/28/12 by Oliver Hookins in Articles

Hello, ClojureScript! (with jQuery)

I decided to give ClojureScript a try. It did not come easy, because I found the official documentation somewhat complicated. I know there is...

0 replies - 2733 views - 10/25/12 by Konrad Garus in Articles

My Scala vs. Clojure Impression Illustrated with Pictures of Cathedrals

(By kristobalite) Clojure: Clean Structured Focused (By agiamba) Scala: Adorned Overflowing Magnificent Clojure...

11 replies - 9376 views - 10/23/12 by Jakub Holý in Articles

Careful with def in Clojure

Let’s start with a puzzle. Let’s create a little Leiningen project called careful. Let’s set :main careful.core in project.clj and put this in...

0 replies - 2385 views - 10/20/12 by Konrad Garus in Articles