Tuesday, March 29, 2011

More Code Documentation

Today, I did the rest of my code-level documentation for this version of the product. This kind of work is straightforward, but it's nicer when you have a set of standards to work from. Much easier to fill in the pieces when you know exactly which pieces are necessary.

So, here's what's next:

  • I still need to write either a method or a test that displays the whole board.
  • I want to generalize the code so that it can be used for boards of different sizes.
  • I might want to model the sticks, well, more as objects. Right now the sticks are positions -- more about this as I address it.
I can display the board , I'm sure, either in PowerShell or in C#. the decision is whether that display is a feature or a testing tool.

As a feature, it assumes the class will be used in a command line environment.

As a test, it's just a convenience.

Since I'm thinking of generalizing the code, maybe it's better to do it as testing code, not as a feature quite yet.

No comments:

Post a Comment