Friday, November 10, 2006

Windows Power Shell Coolness

I'm trying to learn the new Windows Power Shell, and I wrote my first useful little script. I used the following to count the number of source files in a directory that begin with S through Z:

$count = 0
$re = [regex]"^[S-Zs-z]"
dir *.cs | foreach { if ($_.Name -match $re) { $count++ } }
$count

I found the following O'Reilly article to be helpful in getting going with WPS.

Thursday, November 02, 2006

Working Backwards

Werner Vogels has an interesting post about Amazon's process for defining requirements called "Working Backwards". They use small development teams, and start with customer-focused documents like a press release, FAQ, and user's manual in order to help them define what they're going to build.