/images/avatar.png

2016,6了什么

“夕阳最美时,也总是将近黄昏。 世上有很多事都是这样子的,尤其是一些特别辉煌美好的事。 所以你不必伤感,也不用惋惜,纵然到江湖去赶上了春,也不必留住它。 因为这就是人生,有些事你留也留不住。 你一定要先学会忍受它的无情,才会懂得享受它的温柔。 ” ——古龙

JavaScript 模式设计-01

“The key is to acknowledge from the start that you have no idea how this will grow. When you accept that you don’t know everything, you begin to design the system defensively. You identify the key areas that may change, which often is very easy when you put a little bit of time into it. For instance, you should expect that any part of the app that communicates with another system will likely change, so you need to abstract that away.” ——一切皆可变,所以要抽象。