Fork me on GitHub

06 2020 档案

摘要:《代码整洁之道》 文字ref: 图片ref:https://www.cnblogs.com/edisonchou/p/edc_clean_code_notes.html 一、命名 1.避免误导 "一组账号"accountList,List是链表,可用accountGroup、甚至是accounts 阅读全文
posted @ 2020-06-30 17:47 yzhu798 阅读(273) 评论(0) 推荐(0) 编辑
摘要:滕王阁序 初唐:王勃 **豫章故郡,洪都新府。星分翼轸,地接衡庐。**襟三江而带五湖,控蛮荆而引瓯越。**物华天宝,龙光射牛斗之墟;人杰地灵,徐孺下陈蕃之榻。**雄州雾列,俊采星驰。台隍枕夷夏之交,宾主尽东南之美。都督阎公之雅望,棨戟遥临;宇文新州之懿范,襜帷暂驻。十旬休假,胜友如云;千里逢迎,高朋 阅读全文
posted @ 2020-06-29 23:42 yzhu798 阅读(232) 评论(0) 推荐(0) 编辑
摘要:单元测试准则 转自github.com/yangyubo Unit tests should be:small 、fast 、automated and non-interactive(无交互)、easy to run、immediately (用例独立)。 4. 代码覆盖率 代码覆盖率, 检查未被 阅读全文
posted @ 2020-06-29 18:41 yzhu798 阅读(488) 评论(0) 推荐(0) 编辑
摘要:ref: https://downdemo.github.io/Effective-Modern-Cpp/ 01 模板类型推断机制 auto 推断的基础是模板类型推断机制,但部分特殊情况下,模板推断机制不适用于 auto。 template<typename T> void f(ParamType 阅读全文
posted @ 2020-06-29 08:23 yzhu798 阅读(262) 评论(0) 推荐(0) 编辑
摘要:code { color: red!important; background: white; } strong { font-size: 1.2em; color: #009ad6; } 阅读全文
posted @ 2020-06-24 17:36 yzhu798 阅读(669) 评论(0) 推荐(0) 编辑
摘要:ref:c437yuyang/EffectiveSTL 前言: 本书讨论的STL是指:标准容器,iostream库的一部分,函数对象和算法 (其他一些书里面通常是指:algorithm,container,iterator三大部分) 不包含标准容器适配器(stack、deque、priority_q 阅读全文
posted @ 2020-06-23 18:38 yzhu798 阅读(290) 评论(0) 推荐(0) 编辑
摘要:Solution to the problem of synchronization of linux timer processes 阅读全文
posted @ 2020-06-03 21:50 yzhu798 阅读(322) 评论(0) 推荐(0) 编辑
摘要:Short notes for STL containers 阅读全文
posted @ 2020-06-01 23:11 yzhu798 编辑
摘要:剑指offer 阅读全文
posted @ 2020-06-01 00:11 yzhu798 阅读(258) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示