【杂谈】那些有个性的言谈

最近再看《编程人生》英文名《Coders at work》,其中第一篇采访了Lucid Emacs的作者Jamie Zawinski,其中有一段对话比较精彩。

Seibel:What about books? Are there particular computer-science or
programming books that everyone should read?

中文版:计算机方面的书呢?哪些计算机科学或编程书籍是每个人必读的?

Zawinski: ...(for short)

Then there was another book that everybody thought was the
greatest thing ever in that same period—Design Patterns—which I just
thought was crap. It was just like, programming via cut and paste.
Rather than thinking through your task you looked through the recipe
book and found something that maybe, kinda, sorta felt like it, and
then just aped it. That’s not programming; that’s a coloring book. But a
lot of people seemed to love it. Then in meetings they’d be tossing
around all this terminology they got out of that book. Like, the
inverse, reverse, double-back-flip pattern—whatever. Oh, you mean a
loop? OK.

中文版:还有本书叫《设计模式》,人人追捧,奉为圭臬。不过,在我看来,

这本书一派胡言,给人的感觉好像编程只需剪切粘贴就能搞定。你不用全盘

考虑要做的任务,只要看看这本“配方书”,找个有几分相近的模式,直接套用

就行了。那根本就不是编程,而是涂色书。不过,似乎许多人都对这本书着了

魔。参加各种会议时,他么嘴里不是蹦出从书中读到的术语。比方说,反转-

翻转-两次后空翻模式等。哦,你指的不是循环吧?是的,就是循环。

你可能感兴趣的:(设计模式,编程,emacs,任务,books)