Archive for September, 2007

Moose::Role Testing

Saturday, September 22nd, 2007

Currently there is on simple way to test Moose::Roles. Since they defer things like attribute adding and method wrapping you have to create a dummy class that uses them to test what they do. Usually this is through creating a package inline in the test module that does what you need or don’t need based on what your testing. Therefore I’m considering either adding Role support to Test::Moose or creating a Test::Moose::MockObject module to make this easier. Still trying to decide which way to go. Maybe I’ll go both ways :-)

Learning Erlang

Monday, September 17th, 2007

I’ve taken on the task of learning erlang. I was trying to decide between learninng Haskell, OCaml, or Erlang. OCaml, I decided against since it had too close a similarity to C and I wanted to really stretch myself. Haskell and Erlang both fit that bill however I found the Erlang Documentation to be far better for someone completely new to the functional programming world. Haskell’s idea of a tutorial tried to cover too many concepts at once and took too long to get to the hands on stuff. Also erlang offered the opportunity to learn Distributed programming concepts along the way so erlang it was.

You can see my first erlang project etap here.