So many good sessions at Strange Loop in the upcoming days… it’s been hard to choose my schedule! Here’s what I plan to attend: Thursday Better Ruby Through Functional Programming Tackling Concurrency With STM Polyglot and Polyparadigm Programming for Better Agility I’d also recommend checking out my friend Mario’s presentation Zen Mind, Warrior Spirit: Antithetical [...]
Archive for October, 2009
Mockito for JVM 1.4 Released
For those of you who didn’t know, I’m currently contracted at a workplace that is still stuck using java 1.4 (I heard they might ring in 2010 by upgrading, but we’ll see). This has create a number of difficulties, chief amongst them (in my view) that I can’t use Mockito and most people use EasMock… [...]
Fine Grained Stub Behavior With Mockito
Continuing a trend of Mockito related articles, I thought I’d blog about using another feature I recently discovered while trying to figure out how to implement fine grained behavior in mockito. First, let me set the stage… I had a method call I was writing examples for that was a typical Castor marshal operation, which [...]
Best Code I’ve Seen All Day
For real. public Request handleRequest ( Request aRequest ) throws InternalError { // Never called. if ( 1 == 0 ) throw new InternalError(); return null; } Yep.
Code Comments: The Lowest Form of Communication
Recently I’ve been working with lots and lots of legacy code written by lots and lots of people who have been separated by lots and lots of distance between them. As a side effect, a lot of the code has comments that either explain what is going on, rationale behind doing it, and sometimes even [...]
links for 2009-10-13
Retrotranslator (tags: jvm java tool compiler bytecode)
Commit Early, Commit Often
Never let stale code sit around on a machine for more than one day. Otherwise you’re just asking for trouble. ‘Nuff said.
links for 2009-10-05
Mockito Specification An example of using my favorite mocking framework in scala with specs. (tags: mockito bdd scala)
links for 2009-10-03
kolb's learning styles, experiential learning theory, kolb's learning … (tags: experiential learning psychology)

