behind-programming icon indicating copy to clipboard operation
behind-programming copied to clipboard

A book to gather and distill principles, patterns and templates behind programming.

Results 10 behind-programming issues
Sort by recently updated
recently updated
newest added

- [x] 注释活动应贯穿编码周期始终:先写注释,再写代码,TODO, FIXME - [x] 说明`m_`已经明确使得`this->`不再必要 - [x] 重写RAII段,使之采用acquire/release而非new/delete,避免失去一般性 - [x] 说明一些禁止出现的关键词:如`goto`、`friend` - [x] 整数不再支持i前缀 - [x] 进一步明确`*`和`&`要靠近类型 - [x] `*/` - [x] 显式提及boost mutex guard等 - [x] 构造函数,列表,分组,所有成员,重操作,Init,对于不能在初始化后更改的参数不能提供Set...

部分参考: https://github.com/utensil/utensil.github.io/issues/69

https://www.zhihu.com/question/21376384 http://coolshell.info/blog/2014/12/c-open-project.html https://github.com/lk-geimfari/awesomo/blob/master/languages/C_C%2B%2B.md C: - https://github.com/nginx/nginx - https://github.com/libuv/libuv & http://software.schmorp.de/pkg/libev.html - https://github.com/antirez/redis ( https://github.com/huangz1990/redis-3.0-annotated ) - http://www.sqlite.org/ - http://www.lua.org/ C++: - https://github.com/google/flatbuffers - https://github.com/zeromq/libzmq - https://github.com/google/leveldb & https://github.com/facebook/rocksdb - https://github.com/bloomberg/bde...

参考 https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html 和 http://www.gnu.org/software/autoconf/manual/autoconf.html#Compilers-and-Options `export CC=/data/toolchains/bin/gcc CXX=/data/toolchains/bin/g++ LDFLAGS=-L/data/toolchains/lib64 LD_LIBRARY_PATH=/data/toolchains/lib64:/usr/local/lib/`

基于 https://github.com/AnthonyCalandra/modern-cpp-features

- https://github.com/Microsoft/api-guidelines

如: http://www.chicagomanualofstyle.org/home.html https://open.leancloud.cn/copywriting-style-guide.html https://www.zhihu.com/question/20414919 http://www.ityuedu.com/article/5456678777/ https://docs.google.com/document/d/1R8lMCPf6zCD5KEA8ekZ5knK77iw9J-vJ6vEopPemqZM/edit#/ http://sspai.com/25130?utm_source=qdan.me#/ http://mangatalk.net/2014/typesetting/?utm_source=qdan.me#/ https://github.com/sparanoid/chinese-copywriting-guidelines http://www.hoowolf.net/2014/12/05/product-copyright-style-guidelines/?utm_source=qdan.me#/ http://www.qdaily.com/articles/1397?utm_source=qdan.me#/ https://qdan.me/list/VLSpNdoDfURWqJ9z https://gengo.com/wp-content/uploads/2014/02/style-guide-zh.pdf https://www.zhihu.com/question/22540765 http://www.microsoft.com/Language/zh-cn/StyleGuides.aspx http://kyc.chzu.edu.cn/s/23/t/1001/dd/4f/info56655.htm GB/T 9704-2012 https://read.douban.com/reader/ebook/3042635/

目前对对应急预案,说明是在表格内直接做的,其问题有: - 表格内长度不够,不便于展开,比如多行或者列表 - 部分自明的字段,还需要赘言说明 - 部分公共的字段,反复在各个表格中说明 应调整为: - 表格项内:给出格式整齐的例子 - 全文、小节最前,或表格前:对共性项的内涵与外延,加以说明 - 表格后:对个性项的内涵与外延,加以说明

着手组织全书的书写规范,如: - 本书术语约定 - 总纲 - 制度 - 规范 - 模式 - 模版 - 本书写作约定 本issue的目的是收集在书写规范这块的一些先例,作为参考。