写可读的代码,代码不可读就是杯具
来源:互联网 发布:淘宝怎么修改图片尺寸 编辑:程序博客网 时间:2024/05/16 20:22
比较下代码:
和下面的代码:
前者除了函数名可读,其他的基本上不知道在干吗。
后者基本上都是望文生义。
代码可读性差,就是不负责任。
写给自己的代码,往往很随意。是对自己不负责任。
写给大家的代码,不能这么干,别人看不懂,就是对他不负责。
- 写可读的代码,代码不可读就是杯具
- 编写可读代码的艺术
- 编写可读代码的艺术
- 编写可读代码的艺术
- 编写可读代码的艺术
- 编写可读代码的艺术
- 编写可读代码的艺术
- 编写可读代码的艺术
- 一个检地址是否可读写的代码
- 编写可读代码
- 编写可读代码(一)
- 编写可读代码的艺术 读后感
- 读<<编写可读代码的艺术>>总结
- 读书笔记-编写可读代码的艺术[上]
- 读书笔记-编写可读代码的艺术[中]
- 读书笔记-编写可读代码的艺术[下]
- 编写可读代码的艺术 读后感(一)
- 编写可读代码的艺术 读后感(二)
- GIT和SVN之间的五个基本区别
- the simplest sample of listener.ora and tnsnames.ora
- EF Power Tools Beta 2 生成 Entity Framework Code First 提示 参数错误 hresult e_invalidarg
- C++标准库简介
- 使能端
- 写可读的代码,代码不可读就是杯具
- Git的优势和用法
- IDE收集
- spring的Resource结构
- 浮动的表单
- Cocos 2d游戏开发工具
- FLASH连接数据库
- Intel Spec. Floating-point Instructions 7 - Floating-point Coprocessor Instruction Set Refrence
- iOS 基于键盘的编程