Simple Code! 简洁编码

Playing football is very simple, but playing simple football is the hardest thing there is. — Johan Cruyff

踢足球非常简单,但踢简单的足球最难的事情。— Johan Cruyff

If we take this famous quote for programming, we can say;

如果我们把这句名言用于编程,我们也可以说:

Writing code is very simple, but writing simple code is the hardest thing there is. — ???

写代码非常简单,但是写简单代码最难的事情。— ???

In this document, we will introduce simple rules, those are easy to implement.

在本书中,我们将会介绍简单规则,且这些规则很容易实现

Once your application grows, it will be hard to follow these rules. Sometimes you find breaking rules will save you time in

a short term. However, the saved time in the short term will bring much more time loss in the middle and long term. Your

code base becomes complicated and hard to maintain. Most of the business applications are re-written just because you can't maintain it anymore.

一旦你的应用程序增长起来,你很难遵循这些规则。有时你会发现破坏规则在短期内会为你节省时间。然而,短期内节省的时间将会在中期和长期带来更多的时间损失。你的代码库变得复杂且难以维护。大多数商业应用程序被重新编写,只是因为你无法再维护它。

If you follow the rules and best practices, your code base will be simpler and easier to maintain. Your application reacts to changes faster.

如果你遵循这些规则和最佳实践,你的代码库将更简单且更容易维护。你的应用程序也能更快的应对变化

最新文章

  1. python获取命令行输出结果
  2. 小菜学习Winform(七)系统托盘
  3. 使用WebView加载assets下的html文件
  4. IIS+php+mysql 环境搭建
  5. java多线程实现卖票小程序
  6. u盘安装ubuntu server 14.04 以及No CD-ROM drive was detected 错误
  7. inno setup 在卸载时如果想保留文件 使用uninsneveruninstall
  8. ubuntu关闭THP
  9. 【LeetCode】107 - Binary Tree Level Order Traversal II
  10. C#DataTable 的一些操作经常操作
  11. c# 取得ip地址和网关
  12. Ubuntu下安装配置zsh和oh my zsh
  13. python登录csdn并自动评论下载资源脚本
  14. 【BZOJ】1002: [FJOI2007]轮状病毒 递推+高精度
  15. wafer
  16. LeetCode & Q1-Two Sum-Easy
  17. React 生命周期及使用场景
  18. Spring Boot 的 10 个核心模块
  19. FIleZilla连接linux(Ubuntu)服务器的相关问题
  20. Python3.6 下 安装MySql

热门文章

  1. JSTL标签报错-http://java.sun.com/jsp/jstl/core
  2. 操作系统IO之零拷贝技术
  3. 性能测试工具JMeter 基础(五)—— 测试元件: 测试计划
  4. HashSet的存储原理
  5. 快速搭建SSM基本项目
  6. Asp.net Core Jwt简单使用
  7. 小Z的袜子 & 莫队
  8. Jupyter Notebook 修改字体和大小
  9. Elaticsearch倒排索引
  10. 深入学习PHP中的JSON相关函数