`
ihuashao
  • 浏览: 4721838 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论

“安德的游戏”和软件开发

阅读更多
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 wasn't a killer and yet he was able to kill readily when the situation warranted it. His opponents didn't 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. The greater the dichotomy, the lesser the risk.

    Unfortunately, economic conditions in most companies take us into battle on a software project with "barely adequate" force. Instead, it's the project team that gets overwhelmed.

    But overwhelming force doesn't have to be overwhelmingly expensive. It just has to be sufficiently strong to win.

    Always play 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 <!-- --------------------- -->

    One of Ender's most fascinating traits to me was his style of continual learning. That's a trait of Pragmatic Programmers that Dave and I have often suggested is the most important -- continually learning the technology, the people, the dynamics of the team, the problem domain, and even learning about yourself.

    Ender really specialized in this area, under the most remarkably poor conditions. Even when attacked by bullies, or unfairly treated by the authorities or peers, Ender's first reaction was neither anger nor fear. He simply "made a note of it." Enemies attacking in furor reveal useful information about themselves, information that can be used in a counter-attack.

    So Ender learned all the time: from his peers, his enemies, the authoritarian system, and from himself. And no matter what pain or humiliation was brought to bear on him, he decided to learn from it.

    We all make mistakes. But the biggest mistake is not to learn from them.

Not a bad lesson from a work of fiction written about 20 years ago.

-- /\ndy <!-- LocalWords: katas blog Superbowl -->

分享到:
评论

相关推荐

    安德的游戏阅读作业.pdf

    安德的游戏阅读作业.pdf

    安德闪电文件搜索 1.0.1.115

    总的来说,"安德闪电文件搜索"是一款高效、易用、安全的文件搜索工具,它通过优化的搜索算法和人性化的功能设计,极大地提升了用户在日常工作和生活中的文件查找效率。如果你厌倦了系统自带的慢速搜索,那么"安德...

    2010安德图片恢复

    安德图片恢复 (AntlerTek Photo Recovery)是安德科技为数码相机用户和图片玩家专门打造的一款数据恢复软件。软件采用先进的数据恢复引擎,能让用户迅速恢复硬盘、存储卡以及U盘等储存设备上的丢失图片文件。用户误...

    安德数据恢复

    “安德数据恢复”是一款由AntlerTek公司开发的专业数据恢复工具。该软件版本为1.0,通过提供的压缩包文件"AntlerTek Data Recovery 1.0.zip",用户可以下载并安装。压缩包内包含两个文件:ADRSetupDemo.exe是安装...

    广域网框架+SDN+交换机堆叠+企业级架构扫盲 安德+军哥等 乾颐堂技术大咖茶茶话会

    广域网框架+SDN+交换机堆叠+企业级架构扫盲 安德+军哥等 乾颐堂技术大咖茶茶话会

    安德闪电文件搜索

    安德闪电文件搜索,是一款极速文件搜索软件,具有以下特点: 1、独特的极速搜索引擎,挑战文件搜索速度极限。无需索引,无需监视文件变化,即装即用,且达到了需要占用大量磁盘空间的桌面搜索软件的搜索速度。您不必...

    AltSearchChs安德闪电文件搜索

    总之,AltSearchChs“安德闪电文件搜索”以其高速、精准和用户友好的特性,成为日常文件管理的得力助手。无论是在工作中查找重要文档,还是在生活中寻找存储的照片或音乐,都能让用户享受到前所未有的搜索体验。通过...

    xauat软件工程课程设计,计算器任务,安德学院大作业,逆波兰式,中缀表达式,连接器

    根据提供的文件信息,以下是对“xauat软件工程课程设计,计算器任务,安德学院大作业,逆波兰式,中缀表达式,连接器”的知识点的详细阐述: 1. 软件工程课程设计概念 在软件工程领域,课程设计是一个重要的环节,...

    乾颐堂安德-HCNA入门版和进阶版课程

    8.26G乾颐堂安德-HCNA入门版和进阶版课程,非常全面适合入门级

    上海安德国际贸易有限公司整套答案解析.doc

    文档中的内容是上海安德国际贸易有限公司向MASRI兄弟公司发出的一封商业信函,旨在建立贸易关系。这封信展示了国际商务交流的基本格式和内容,同时也揭示了几个重要的国际贸易知识点: 1. **公司介绍**:上海安德...

    安德Kong

    【安德Kong】是一个可能指的是游戏或者软件开发项目的名称,但给定的信息过于简洁,没有提供足够的背景来深入讨论具体的技术细节。然而,我们可以基于常见的IT行业实践,推测一些可能涉及的知识点。 1. **游戏开发*...

    进出口贸易操作_安德国际公司答案.doc

    【进出口贸易操作】是国际贸易中的核心环节,涉及多个步骤和细节。在安德国际公司的案例中,我们看到以下几个关键知识点: 1. **建立业务关系**:这是贸易的起点,通常通过正式的商务信函进行。信函应包含公司的...

    盛安德机器学习分享ppt

    盛安德机器学习内部分享ppt。机器学习就是把无序的数据转化为有用的信息。监督学习:分类,回归。无监督学习:聚类。合适的算法+海量的数据。

    安德建奇:2019年年度报告.PDF

    安德建奇:2019年年度报告.PDF

    成都市郫都区安德镇总体规划修编及安德镇镇区产业、空间形

    成都市郫都区安德镇总体规划修编及安德镇镇区产业空间形态研究专题项目招标文件采购人成都市郫都区安德镇人民政府采购代理机构郫县中信建设工程咨询事务有限公司二一八年五月目录第一章投标邀请3第二章投标人须知5

    安德建奇:2019年半年度报告.PDF

    安德建奇:2019年半年度报告.PDF

    Yeslab安德MPLS技术构架视频讲解【26讲】

    资源名称:Yeslab安德 MPLS技术构架视频讲解【26讲】   资源目录: 【】90cc30f2569add6af6dc48a65481915e 【】d1b6be8f257a29df1f55a30b73660da1 【】d2addf73156f0bdbb877bca10c02c946 ...

    安德罗德

    Android SDK(软件开发工具包)包含了一系列工具,如Java Development Kit (JDK),用于编译和调试Java源代码。 【压缩包子文件的文件名称列表】:“Androd-main”可能是一个项目的主要源代码目录,通常包含以下关键...

    安德 CCIE EIGRP

    CCIE(Cisco Certified Internetwork Expert)是网络行业中的最高级别认证,而EIGRP(Enhanced Interior Gateway Routing Protocol)是一种由思科系统开发的高级距离向量路由协议。EIGRP结合了链路状态和距离向量...

Global site tag (gtag.js) - Google Analytics