29 maja 2012

Blocks in Ruby

One of the first things that a new Ruby programmer finds interesting in this language are blocks. On first sight they look a little bit weird. However after a first few uses they become as natural as breathing. Ruby blocks are very simple and in the same time very powerful mechanism. That's why I made up my mind to write a short article about them.

20 maja 2012

Code sandwich

Ruby koans is a great way to learn basics of Ruby. For me it was also a chance to meet for the first time a 'Code Sandwich' term. This is not a very popular term but I want to write about it. In my humble opinion it is a very common problem and a name 'code sandwich' fits just accurately. I'm going to show how we can solve it in Java and Ruby.

7 maja 2012

Humility lesson

As software developers we are dealing with bugs everyday. Through the years we have created many techniques that help us avoid them. TDD, pair programming, code review etc. Unfortunately none of them are perfect.