- 博客(1)
- 资源 (2)
- 收藏
- 关注
原创 我的c++异常编码规范
一、在c++模块内部用异常而不是用返回值来报告错误;二、不要让c++异常穿越模块边界(标准的动态库,传统的导出c函数的那种);三、异常作为precondition的check比assert优秀,所以不要使用assert检查不变式(检测逻辑错误);四、返回值是很有用的传值通道,如非必要(比如说跨越模块边界)还是用异常来抛出错误(返回非逻辑错误);五、逻辑错误是可以避免和调试改正
2007-11-01 18:00:00 724
The Definitive ANTLR Reference
This is a reference guide for ANTLR: a sophisticated parser generator
you can use to implement language interpreters, compilers, and other
translators.
2010-11-04
introduction to algorithm
不用说啥了,经典算法书籍英文原版
This book is one of a series of texts written by faculty of the Electrical Engineering and Computer Science
Department at the Massachusetts Institute of Technology. It was edited and produced by The MIT Press under a
joint production-distribution agreement with the McGraw-Hill Book Company.
2010-11-04
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人