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

原创 2003年09月23日 13:56:00
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

利用十大最佳游戏开发工具开发游戏

游戏无疑是最神奇的和有趣的休闲活动。每个人都喜欢玩游戏,所有年龄组的人喜欢玩游戏但游戏的类型可能会有所不同。有些人可能喜欢玩动作游戏,有些人喜欢玩关卡类游戏。而我只喜欢玩扫雷。 人们非常喜欢游戏...
  • zxxSsdsd
  • zxxSsdsd
  • 2013年07月16日 13:35
  • 4594

国外15种手机游戏引擎和开发工具介绍

游戏程序 平台类型: iOS Android  程序设计: 3D图形 音乐音效  编程语言:   引擎/SDK: 其它 ...
  • pizi0475
  • pizi0475
  • 2016年03月10日 09:35
  • 9712

让你尖叫的游戏开发工具清单

卓绝的游戏美术资源和编辑工具,让朴实无华的游戏变得犹如毕加索的艺术创作。...
  • u011639126
  • u011639126
  • 2016年04月06日 23:41
  • 10154

《安德的游戏》和《死者的代言人》

最近看了两本科幻,《安德的游戏》和《死者的代言人》。这两本书连续两年包揽雨果奖和星云奖。 《安德的游戏》感觉一般,很像近几年的网络小说,战斗训练就像打怪,主角不停地升级进步。结尾也很突兀,虽然有个包袱...
  • icsoc
  • icsoc
  • 2016年02月19日 23:19
  • 756

【雨松MOMO】Android 软件开发与游戏开发1 至 32系列博文大合集

Android 软件开发与游戏开发系列博文大合集雨松MOMO原创文章如转载,请注明:转载至我的独立域名博客雨松MOMO程序研究院,原文地址:http://www.xuanyusong.com/ 雨松M...
  • xys289187120
  • xys289187120
  • 2011年10月20日 02:54
  • 11565

Android游戏开发&Android软件开发【教程三十二篇】

推荐momo雨松的一些列Android开发文章,其中涉及很多游戏开发方面的东西,非常适合初学者以及中级开发者学习或者借鉴。 Android软件开发之盘点所...
  • MYBOYER
  • MYBOYER
  • 2013年09月03日 13:25
  • 866

浏览器,游戏,视频,股票,窗口隐藏,一键隐藏切换 软件开发

​ 【老板不在V1.0强势发布】 现在销售老板不在Windows桌面应用以及源码 QQ:432146822 淘宝店铺:http://item.taobao.com/item.htm?spm=a...
  • qq_26749865
  • qq_26749865
  • 2015年03月21日 11:38
  • 322

软件开发(ERP,APP,游戏)的思考及参考资料

参考资料: 1.软件开发文档范例 :http://zz563143188.iteye.com/blog/1835305
  • ly969434341
  • ly969434341
  • 2015年08月05日 18:51
  • 625

Unity3D研究院之2D游戏软件开发制作

如下图所示,我们盘点一下2D游戏中必备的几个元素。 摄像机:无论是3D游戏还是2D游戏摄像机都是非常重要的属性,移动摄像机即可更改屏幕中显示的内容,游戏地图的坐标永远都不会发生改变。 地图...
  • a1294246096
  • a1294246096
  • 2014年03月24日 15:49
  • 881

Android 软件开发与游戏开发1 至 32系列博文大合集

  • 2013年11月21日 18:30
  • 42.75MB
  • 下载
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:“安德的游戏”和软件开发
举报原因:
原因补充:

(最多只允许输入30个字)