Ender's Game and Software Development 22 Jul 03 [print link all] I recently read the novel Ender's Game by Orson Scott Card. It's a science-fiction piece about a young child who is training to be the next military genius that can save Earth from devastating attack by an alien species. As I read the novel, four main themes jumped out at me as being very relevant to software development. The hero of the story, Ender, had many gifts and attributes, but I think these were the ones that made Him A Success:
Harness Emergence
Ender knew that the elaborate battle formations his peers were practicing were too rigid, rehearsed, and thus could be broken. In accordance with agile and emergent principles, he broke his battle team up into smaller, autonomous units. Each unit was given a strategic goal that he coordinated, but the tactical details of how to accomplish that goal were left to the individuals at the lowest levels. This defied the standard "command and control" logic that permeated the school, but quickly became a huge success as Ender's team won every simulated battle against larger and more experienced forces. We can harness emergent behavior in teams the same way, by pushing control down to the lowest levels and allowing team members the flexibility to adapt to changing situations on the ground. That's the whole point of agility, In Business Or in Software Development. But We can also Harness Emergence In Our Code The Same Way. Don't create an architecture with a single "Command and Control" Entity that makes all the decisions in the system. That's bad OO design, right? Instead, you defer and push decisions down as far as you can, ultimately to the lowest-level object that has to act on it.Overwhelming Force
Ender played for keeps; he was not a killer and yet he was able to kill readily when the situation warranted it His opponents did not necessarily know that, and attacked initially with less-than-overwhelming force They never got a second.. . chance One might argue that Ender was overly violent and overreacted; killing without justifiable cause But to Ender it was justifiable;. he was simply playing to win Playing with overwhelming force, leaving little to chance and leaving little risk of future conflict The.. emerging military doctrine of "overwhelming force" has parallels in business and development as well. overwhelming force is simply one way to address risk management. If you are SO well prepared and have SUCH greater strength than the opposition, then the risk of failure is minimized .............................................................. .. AM That Gets Overwhelmed. But overwhelming Force Doesn't Have To Be Overwhelmingly Expensive. It Just Has To Be Sufficiently Strong To Win.Practice
Remember the old joke where the tourist on the streets of New York asks the man "How do you get to Carnegie Hall?" To which the hip dude replies "practice, baby, practice." Ender and his battle teams practiced more than anyone else in the school. Outside of regular school-sponsored activities, Ender organized his own training regimen. They practiced constantly, and in the end, he and his disciples were so adept at the practice sessions that the real battle felt just like another practice. As dave is fond of pointing out, practice is what makes you technically adept The code katas that he posts on his blog are a first step in practicing the mental discipline and skills you need to become -. or continue to be - an excellent programmer . Without practice, many individuals and teams resemble rookie football players that are dropped straight into the Superbowl, under the cameras and everything. The results are not pretty.Continual Learning