Tuesday, August 03, 2010

Craftsmanship Swap with EdgeCase - Day Two

Today was day two in the craftsmanship swap with EdgeCase.

The day was kicked off with a typical Agile stand-up meeting attended by local EdgeCase employees, employees in Scotland, and Ruby luminary Jim Weirich from Cincinnati.

Afterward, I got to pair with John on a new feature related to payment processing, which we finished by the end of the day.

Highlights of my learning while pair-programming with John were:
  • Learned how to use let(:method_name) {value} in RSpec tests to write more expressive tests without relying on @ instance variables initialized in before :each blocks
  • Learned about the Emacs Yasnippet plugin that allows building expression expanding macros (e.g. typing do and then hitting tab expands it to a do end block with the cursor placed in between) Since I appreciated this feature quite a bit in Eclipse, it was nice to have it while pairing with John, and we even built our own snippet at one point
  • Learned how to use the Braintree payment processing library in Ruby, which makes it easy to accept credit card information securely


And, at the end of the day, I got to play on the drums in the music jamming area.

Stay tuned for day three tomorrow.

No comments: