O'Reilly logo

Extreme Programming Adventures in C# by Ron Jeffries

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 15. Climbing Out of the Rat Hole

In which a faithful reader sends a valuable message and our hero heeds the warning before it’s too late. In short, let’s clean up this mess.

Pairing at a Distance

Kevin Lawrence, of Diamond Sky http://www.diamond-sky.com, was kind enough to send along some ideas about the "Perform" rat hole I went down last time. He pointed out that there is a better way to do it, saying, in part, "I think you are well on your way to reinventing delegates," and providing some code samples.

Delegates still don’t fit in my brain very well, while the perform-by-name idea is familiar to me, so this came as no surprise. I took the occasion last night to spend a half-hour playing with Kevin’s idea, and it’s certainly better. That’s ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required