Languages

  • submit to reddit

Haskell From an OO Developer's Perspective, Part 2

Today I'm looking at Haskell type definition and the use of pattern-matching in functions. Pattern-matching is much more an integral feature of...

0 replies - 2640 views - 10/31/11 by Wayne Adams in Articles

Haskell From an OO Developer's Perspective, Part 1

I'm learning Haskell by following O'Sullivan, Goerzen and Stewart's Real World Haskell. I've been writing object-oriented code for well over half...

0 replies - 4246 views - 10/27/11 by Wayne Adams in Articles

Enabling rich(er) interactions in the Clojure REPL

I love the Clojure REPL.  I’ve never been more productive in any other environment.  In particular, I happen to like the REPL and general development...

0 replies - 2540 views - 10/27/11 by Chas Emerick in Articles

OO to FP: Transition

For the last year or so, I've been trying to come up to speed on functional programming, studying bits and pieces here and there. One...

3 replies - 3325 views - 10/26/11 by Wayne Adams in Articles

À la carte configuration in Clojure APIs

There are two dominant configuration patterns in Clojure libraries. The first is where configuration is provided explicitly via the first argument; here,...

0 replies - 2641 views - 10/18/11 by Chas Emerick in Articles

Which risk would you manage? What would you want to prove? Programming Languages and Type Systems

Debates across programming languages and type systems are not new. And this post does not attempt to shed new light on these (though it is hardly an...

1 replies - 3173 views - 10/16/11 by Dhananjay Nene in Articles

The power of three lines of scala

I was looking at this problem on project Euler.net and I was amazed it only take 3 lines of scala code (with one being the number itself)!val bigNum =...

10 replies - 3975 views - 10/13/11 by Andrew Salvadore in Articles

AsK DZ: Will Java Make a Comeback?

An interesting prediction of a Java resurgance in web development came from the "I, Cringely" blog.  The post was entitled: "The second coming...

20 replies - 7532 views - 10/13/11 by Mitch Pronschinske in News

Using AST Transformations to Write a Testing Library

Being a language geek I always try to write a library that will exercise the language I’m trying to learn more about. You know, something that will...

1 replies - 4411 views - 10/11/11 by Victor Savkin in Articles

How to write your own Matchers with ScalaTest

I just love the assertion syntax of ScalaTest. It’s easy to read and easy to write and looks like this: 23 should be >= (12) Even if you know nothing...

0 replies - 2578 views - 10/03/11 by Jens Schauder in Articles

JavaFX 2.0 and Scala, Like Milk and Cookies

JavaFX 2.0 and Scala are both great technologies individually, but work even better when used together.  JavaFX 2.0 is a powerful rich client technology...

1 replies - 5808 views - 09/29/11 by Stephen Chin in Articles

Trying to make CoffeeScript work with Scalate and Play

A few weeks ago, I wrote about integrating Scalate with Play. The next steps in my Play Scala adventure will be trying to get the...

0 replies - 2879 views - 09/29/11 by Matt Raible in Articles

Scala: Replacing a trait with a fake one for testing

We recently wanted to replace a trait mixed into one of our classes with a fake version to make it easier to test but forgot how exactly to do...

0 replies - 2648 views - 09/27/11 by Mark Needham in Articles

Ratchet Tests with ScalaTest

Ever found more broken things in a project than you possible could fix in one go? I’m exactly in that situation. We have a test which checks for certain...

0 replies - 2706 views - 09/25/11 by Jens Schauder in Articles

Changes to Cascade, and a cautionary tale about defrecord

Since I've been talking more about Clojure lately, I've spent a little more time working on Cascade. I've been stripping out a lot of functionality, so that...

1 replies - 3021 views - 09/22/11 by Howard Lewis Ship in Articles