峰采 #5

2019-04-20
阅读 3 分钟
1.7k
PS 2018年Agile是什么情况? 巴黎圣母院注定要着火? "米"字为什么是012345678? Go成为企业级编程语言新宠? Read on... The List [链接] Martin Fowler做的The State of Agile in 2018。是根据 [链接] 这个视频整理的。 划重点: Raise the importance of technical excellence, and never forget that when writing so...

Python Metaclass 初探

2017-09-16
阅读 3 分钟
3.7k
Metaclasses are deeper magic than 99% of users should ever worry about. If you wonder whether you need them, you don’t (the people who actually need them know with certainty that they need them, and don’t need an explanation about why). – Tim Peters

关于async的层次

2016-08-27
阅读 1 分钟
2.4k
最底层的就是现在的Javascript(包括ES6)。就是async + callback模式。所以有callback hell。即使Promise也没有解决这个问题。因为一段逻辑其实是被分散到多个地方表述的,导致代码的可读性很差。

Python: 今天你赋值了吗?

2016-08-27
阅读 2 分钟
1.9k
[EDIT] 没想到会被转发。很高兴也很囧。看来眼球多了的确容易纠错。要小心啊小心。 编程语言就是这样。有时候你已经用它写了数万行代码,自以为很熟了。知道某一天遇到一个意料之外的问题。然后你才发现,原来TMD是这样的。 问题 {代码...} 以上这段代码的输出是什么?如果你的答案是 {代码...} 那么大牛请安静的离开。...