- 博客(4)
- 资源 (30)
- 收藏
- 关注
原创 写可读的代码,代码不可读就是杯具
比较下代码:和下面的代码:前者除了函数名可读,其他的基本上不知道在干吗。后者基本上都是望文生义。代码可读性差,就是不负责任。写给自己的代码,往往很随意。是对自己不负责任。写给大家的代码,不能这么干,别人看不懂,就是对他不负责。
2013-04-28 13:48:40 1631
翻译 [Uncle Bob Martin] Screaming Architecture
http://blog.8thlight.com/uncle-bob/2011/09/30/Screaming-Architecture.html注:原文在后面。Screaming ArchitectureUncle Bob30 Sep 2011ArchitectureImagine that you are looking at the bluepri
2013-04-25 18:43:06 1415
原创 linux socketpair(UNIX domain socket)
/*g++ sp_block.cpp -g -O0 -o sp_block*/#include #include // socketpair#include #include // fork#include #include // atoi#include // errno#include // strerror#include int RecvFD(i
2013-04-21 19:13:40 2065
Pattern.Oriented.Software.Architecture.Volume.2
2012-11-29
mp4 file format引用文档
2012-11-04
The.Cpp.Programming.Language.Special.Edition
2012-10-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人