Monthly Archives: November 2009

Notes on ‘Expert Oracle’ — No.1: Programmers should know about Oracle

1. As programmers, you should know the fundmental details of the database, especially when concurrency and performance is concerned. 2.Don’t stick to "database portability."    a. You are not going to need it.    b. It’s basically impossible since databases are so different from each other, concurrency strategy for example. 3.Don’t hesitate to make use […]

How to choose test cases

From ‘Beautiful Code’   1. Start from Smoke Test   2. Then add Boundary Tests   3. Go on with other tests for a complete coverage (random tests etc.)   4. Finally, add some tests for performance P.S. : Try to do random tests by generating numerous random values

Notes on XP — No.15: Design Strategy

1. Always have the simplest thing that could possibly work(that can make all the test cases run)    2. Design through refactoring    a.Implement the first story, then the second, then remove the duplicated codes    b.Refactoring should be done step by step (Incremental Change) 3.Why XP suggests we only design for today? Won’t it […]

Notes on XP — No.13: Planning Game (2)– Iteration Planning Game

The Iteration Planning Game is similar to the Planning Game.   Player: Individual Programmers   Pieces: Task Cards    Moves:        1. Find out what tasks there will be. Do splitting if necessary.        2. Accept and Estimate tasks.              Y = Ideal Engineering Time * load factors        3. Keep everything in track.

Notes on XP — No.12: Planning Game (1)

The Planning Game     Players:  Business People VS  Development People     Pieces:   Store Careds      Moves:        1. Find out what new things the system could do             Write a story(Biz) -> Estimate a story(Dev) -> Split a story if development can’t estimate        2. Choose the most valuable subset of requirements             Sort the […]