Nebula Device项目的设计哲学

  • Integration is better than implementation 外部集成优于内部实现
  • Make extensive use of existing libraries – DevIL, Tcl, Lua, Python, TinyXML, D3DX, SQLite… 大量使用已有的库
  • Throwing away source code can be good 扔掉源代码更好
  • Modular architecture supports high  source code fluctuation 使用模块化架构来支持源代码快速改变
  • When in doubt, throw away and rewrite 拿不准时,扔掉再重写
  • Prevent unmaintainable code 预防无法维护的代码
  • Small is beautiful 小一点,好一点
  • Clear restriction to rendering, audio, input, resource management, scenegraph management: Nebula is not a game framework – check Mangalore. 对界面呈现、声音、输入、资源、背景图片的使用上都有明确的约定:Nubula不是一个游戏框架,参见Mangalore
  • New Nebula releases often have less source code then their predecessors 每一次发布都比上一次代码量更少
posted @ 2010-07-07 11:31  Justina Chen  阅读(392)  评论(0编辑  收藏  举报