每个人都是站在自己的立场上说话的

Aaron Hillegass 的访谈中,他说:

It is true that some people have voiced the opinion that the iPhone SDK should have been based on languages other than Objective-C. However, it is important to note that none of these people have ever shipped an application written in Objective-C.

这固然是有道理的:倾向使用 Obj-C 以外其他语言来开发 Cocoa 应用的绝大部分人根本不了解 Obj-C (比如 John Grubber,充其量只能算是个 Perl 爱好者,还不能算程序员)。

但 Aaron 自己的视角何尝不也是带着偏见的呢?在他说下面这段话时:

It is difficult to explain how the NIB file (and a few other scary ideas) create leverage. It is that leverage that enables one guy in his basement to compete with a team of engineers at Microsoft or Adobe. It is like I showed a chain saw to a early American colonist, and he said, “Can I cut down the tree without starting the engine? I don’t like the noise. Maybe I can just bang it against the tree?”

不知道他自己有没有考虑过:他自己是否曾经尝试过用编码的方法 (Programmatically) 而不是用 Interface Builder 来构建一个完整的程序界面,如果没有,他又怎么能理解编码构建界面的优势呢?

我个人并不排斥 NIB,但关键的问题是,我相信一个完整的项目中每个元素的“可查找性 (grepability)”都是很重要的,如果能将所有的元素都用文本的方式表达,就大大方便了查找和更新,而不管是 NIB 还是 XIB,都做不到这一点。

所以说,要完全不带偏见,中立的评论一个东西,真是很难。

One Comment

  1. Lawrence:

    问题在于 100% 中立的评论一定是无聊的评论。评论者越是企图向中立靠拢,评论就越没有意义。在评论中追求完全的中立其实是畏缩和偷懒。

Leave a comment