etorreborre

An exercise with arrows in Scala

I'm still a bit fascinated by the so-called "computing models" that you get when programming with monads or arrows. That fascination comes from that fact that the things I'm using everyday can be abstracted to useful entities. Of course, it is pretty well-known to programmers that functions can be described formally with parameters, types, return values and so on. Given the definition of functions you can even compose them...

blog.ploeh.dk blog.ploeh.dk

SUT Factory

In my Zero-Friction TDD series, I focus on establishing a set of good habits that can potentially make you more productive while writing tests TDD style. While being able to quickly write good tests is important, this is not the only quality on which you should focus. Maintainability, not only of your production code, but also of your test code, is important, and the DRY principle is just as applicable here. Consider a test like this:...

javaworld

Glassfish: Sun actually getting Java right?

This week Sun launched Glassfish Portfolio, a Java application server platform and more based on the open source Glassfish. In fact, everything in the platform is open source save the Enterprise Manager that makes it easy to run the thing, which may itself be open sourced in time. You pay $999 per seat for support services, which of course is just how the open source folks always said open source would make money. Other things...