Israel Agile Users Group Meeting

time to read 3 min | 441 words

I went to the Agile Users Group meeting today, and had quite a bit of fun.

The first talk was about mock objects, which is obviously a subject near and dear to my heart. I learned about a new mocking tool for .Net PocMock, which seems to be working by generating an assembly statically. I’m not sure how well I feel about this approach, but I can see where it can be very useful.

The second talk was about refactoring 101, which is also a passion of mine, and the presenter was Justin. He gave a great talk, and the only thing missing was a real real-world example (you have to be a developer in Israel to understand this, I’m afraid), like this one:

 public class Order
{

    public string PersonShem;
    public string PersonSemMispaha;

   public string PelephoneKidomet;
   public string PelephoneMishpar;
 

    public string TelephoneBaytKidumet;
    public string TelephoneBaytMispar;

     public string TelephoneAvodaKidomet;
    public string TelephoneAvodaMispar;

}

This is how real production code looks like, including the optional spelling.

That said, the talk covered most of the structural refactoring that you are likely to run into. Justin covered Extract Method, Cut & Past Programming, Meaningful Names, Readable Code Instead Of Comments, etc. I really liked the examples that he gave, I was having hard time not cracking up in several points. 

For instance: "You would have think that in the 29th time they would put it in a method" had me in stitches, I so feel the pain. He also talked briefly about a couple of tools that he is using (both external and in-house), including some that were new to me (exterme simplicity, for instnace).  Very good talk, all in all. I like the presentation as well, very much like Refactoring from Fowler.

After the talks were over I had a chance to talk to several other guys there about mocking, design and stuff. It was fun.