摘要: 初识Lisp:-语言的内核设计的非常小。Lisp语言只有7种公理(基本操作符)。 -写出来代码很短。30多行的代码,就可以写一个Lisp方言的解释器。据说C代码平均是Lisp代码的7到10倍,还有说20倍的。 -为什么Lisp代码更短?就是因为使用“自下而上”的编程方法。你不是在基础语言上开发,而是在基础语言上构件一种你自己的语言,然后再用后者开发。 -你要是不能想象Lisp语言的代码是什么样,可以试着想象XML,想象XML中的每个节点都是函数和自变量,而且可以执行。(Lisp的代码都是嵌套和递归的,编译后就是一颗解析树。没有数据和代码之分,而且是动态类型语言。) -我在08年学习C#时候才知 阅读全文
posted @ 2011-05-17 16:05 能巴 阅读(1201) 评论(2) 推荐(0)
摘要: 1. Log File is important. I didn't realize its importance until I met a issue that was only reproducible on QA machine and it's hard for me to figure out the reason. I added some code in my project to output some check point status into a log file and post it to QA to use. The generated log 阅读全文
posted @ 2011-05-17 15:47 能巴 阅读(250) 评论(0) 推荐(0)