Adventures in C#

The book, Adventures in C#, is out and available from your favorite reseller. As an experiment for no particular reason, I’m removing the draft chapters from the web site. Here, in order, are some interesting articles that didn’t go into the book. I’m interested in your reaction to this change.

Warts and All Ron Jeffries 08/20/2002

Sometimes the bear bites you. Today it bit Ron and Chet.

A Better Code Manager Ron Jeffries 08/21/2002

Chet and Ron reflect, then figure out a better way to roll back than typing Control-Z over and over.

Adding a TestFixture to Visual Studio Ron Jeffries 09/23/2002

Visual Studio is very configurable, if you happen to be a telepathic genius. In this example, I manage to fumble my way through addition of a TestFixture Wizard without benefit of either mindreading or much of a mind. Come along for the ride …

Building a Web Service Ron Jeffries 10/14/2002

By way of learning something, I followed the walkthroughs in Visual Studio to build, deploy, and access a Web Service. These are some notes on what I learned. Mostly history, some pictures of what you get, and a little of the code.

A Code Management Vision Ron Jeffries 11/24/2002

A number of XPers have been talking about how code management should really work. Here are some of the ideas. They sound crazy. That might be what I like about them.

Digression — WordCount Ron Jeffries 12/16/2002

These chapters are supposed to add up to a book. And my publisher wants to know when they’re going to get it. I need to get estimates of word counts for the chapters to have a sense of progress. Here’s a digression to get the word counts.

Making the Table of Contents Ron Jeffries 01/25/2003

As I move towards turning these chapters into an actual book, I need to build a table of contents, so I want to create a new XML construct describing each chapter. We’ll look at how I approach building a little application that will only be used a few times.

Chapter Numbers inside the Chapters Ron Jeffries 02/14/2003

We would like the chapters to have the chapter number in them. The chapter number is in the file name, but we don’t know how to get it into the output chapter. We have a scheme in mind. Maybe we can make it work. For sure we are going to learn something.

Testing XSLT Ron Jeffries 02/16/2003

We’re going to try to be a bit more test-driven in our work with XSLT and the chapter number lookup. This turns out to be more difficult than we could have hoped. I think the result is a bit of an improvement. You get to decide whether you agree.

Sustainable Pace, and the Lack Thereof Ron Jeffries 08/01/2003

Maybe there’s something to this sustainable pace idea after all. Here’s a report on part of the Undo feature of the Adventures’ XML Notepad.

The Bowling Game Ron Jeffries 11/17/2003

When I demonstrate Test-Driven Development using the Bowling Game example, I begin by describing the problem and inviting the attendees to do a little up front design about what objcts we may need. Then I take a very simple approach that produces a rather simple single-class solution, with none of the complexity we anticipated. I’ve been wondering how to drive the development to cause the creation of some of the classes that are anticipated, supposing that we might have some actual need for them. Here’s an example of doing TDD with a bit bigger “design” in mind.

Bowling Revisited Ron Jeffries 11/18/2003(updated)

Here’s the Bowling Game again. This time I’ll take a simpler approach, along the lines I usually follow when I do a Test-Driven Development demonstration. The result is strikingly simpler than the preceding “object-oriented” solution. What does this tell us about TDD and how to use it?

Extending the Procedural Bowling Game Ron Jeffries 11/20/2003

Object aficionados worldwide are concerned that the procedural bowling solution presented last time is just not robust enough. They want to see how we would make it score the frames incrementally. Frankly I haven’t the slightest idea.

Coffee Shop Ron Jeffries 12/08/2003

Steve Howell on the extremeprogramming group is proposing a Coffee Shop application and acting, I guess, as customer on it. The discussion of the program has gone on too long without anything concrete, and so I have decided to program something to crystallize my ideas, and the situation.

Building the App from the Book Files Ron Jeffries 02/23/2004

An Amazon reviewer had difficulty building the application from the final files provided. My mistake, my expectation was for people to follow along in the building of the code, not for them to build the application from the existing source. I hadn’t even intended to provide the source files until Microsoft asked me to. Here’s how to build the app from the final file list provided on the book web site.

Eine Kleine Refaktorung. Ron Jeffries 05/14/2005

Friedrich Brunzema offered a problem on the xp list, with a series of stories that he felt were noticeably less costly to do in one order than another. I’ve nothing to do tonight, so I’m going to work the problem — more accurately a subset of it — to see what happens. (Updated to include a bit more summary, and the code so far.)

TDD by Intention? Ron Jeffries 06/11/2005

Can Test-Driven Development and Programming By Intention play together? Or do they annihilate each other, like protons and antiprotons, or XPers and CMMers?

Recent Articles

Scala Bowling, I think …

I’ve been working with Scala a bit, just to learn what it is. I’ve found it interesting, if frustrating. Here is a bowling experiment.