Marty Andrews

artful code

Tuesday, May 25, 2004

Angry Fruit Salad

Intellij IDEA's default color scheme is ok, but I've never been a fan of white backgrounds for code editors. I find the glare to be too bright after a whole day cutting code. Instead, I prefer a deep blue background with light colors for text and keywords.

A friend from work came up with a scheme similar to the style I like (he has a black background though). Jon Eaves coined the term "Angry Fruit Salad" for its look. I like it so much I felt compelled to share it with you.

Java code looks a bit like this:

XML looks a bit like this:

Like it? If you want to use it, feel free to download Angry Fruit Salad. Just drop it into the "colors" directory under you IntelliJ IDEA installation and you're away...

Saturday, May 22, 2004

Unconsciously Competent Pair Programming

On a recent trip to London, I spent some time chatting to Dan North about Neuro-Linguistic Programming. As context for the discussion, Dan described the four states of the conscious competence learning model. Those states were:

  • Unconscious Incompetence
  • Conscious Incompetence
  • Conscious Competence
  • Unconscious Competence

The idea behind this is that to learn and master a new skill you will go through these stages until you achieve Unconsious Competence and therefore perform it instinctively.

In another unrelated (or at least I thought so at first) discussion whilst working on my current project, I had a chat with some colleagues about how we could improve the pairing programming skills of our team. We spent some time coming up with some patterns that we would like to see occur during pairing sessions on our project. Some come from the pair programming book by Laurie Williams, and others are things that we have come up with from our experience.

Here's a summarised list (I'm probably not doing this justice, as I'm not going to explaing what they all mean - thats fodder for another blog) of the things we came up with:

  • Keyboard shuffle
  • Take a break
  • What's yours is mine
  • Humble pie
  • Partner swap
  • Confident idea <--> Hear someone out
  • Talk <--> Listen
  • Compromise <--> Stand firm
  • IDE Standard

So now that we had a bunch of stuff we wanted to teach the team, we had to figure out how we were going to do it. This was the point where I linked in the stuff that Dan had talked about, and we decided we needed to go through the conscious phases described above. In other words, a couple of us will try to coach the team by example, and we will verbalise (and therefore bring into people conscious thought) the patterns as we do them.

"I've been typing for a while now, so lets do a Keyboard shuflle so you can have a go"

Will it work? Dunno yet. We're giving it a go. Stay tuned...

Monday, May 17, 2004

New routine. New blog.

Forgive me father for I have sinned. Its been just over two months since my last blog entry...

So in that time, I've basically uprooted my life to some extent (hence the lack of blogging). I've made the move from Sydney back to Melbourne (woot!). My time has been spent packing, moving and unpacking at the other end. I'm still commuting to Sydney for work every week, but that will end soon.

The major problem for my blogging habit during that time is that:

  • a) I haven't had broadband internet access during that time.
  • b) My routine has been completely broken.

Anyway - I'm back! I haven't solved either of those problems completely yet, but most of the moving pain is over, so I'm hoping to get back on the horse.