Nebula Device项目的设计哲学

博客强调软件开发中外部集成优于内部实现,应大量使用已有库如Lua、Python等。还提出模块化架构支持代码快速改变,拿不准时扔掉重写以预防不可维护代码,且每次发布代码量应减少,对各方面使用有明确约定。
  • 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 每一次发布都比上一次代码量更少

转载于:https://www.cnblogs.com/RCFans/articles/1772730.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值