Code of steel

Embed Size (px)

DESCRIPTION

Code of steel 0. 看主题 1. 开始之前,回顾一下 2.1 语言亲和度 2.1.1 曾经纠结于,亲和度,简化代码 2.2 希望大家,原因,diff 2.3 忽略参数,但是key实际上没有意义 2.4 意义 3.1 要抽象,不要具体,车钥匙 3.1.1 每一级 3.2 构造时间 3.3 埋葬,可怕 3.4 missing, 犯错

Citation preview

  • 1. Code of SteelPart Ijohnxu09/12/2014

2. previously if else or and for while commit log magic number 3. previously top level of function default arguments exceptions get & or 4. class context constant operations self/cls context __class__ 5. closure context lru cache keys 6. closure inside of function locals & globals func code exec/compile 7. I've done the best! harryxiong 8. There always be a better way.If not, I can make one. johnxu 9. Thank you. first commit 10. Thank you! 11. Q & A