Secret life of the OpenSolaris code

June 18, 2005

       

         开放就是这样,就是这样。
        开源一周之内,大家对那百万行可能是地球上最clean的代码都干了些什么?
       
        OpenSolaris 社区管理人Jim Grisanzio 曾经跟ZDNet Australia 说,相对来说,他们这些代码里面“脏字”要少些--不奇怪,程序员也是人,所以他们也会在代码的注释,说明,版权,或者任何他们喜欢的地方加上自己的话,或者是确实为了说明情况,或者是发泄不满,或者是为了好玩,或者……
       
        如果粗略地搜索一下,会发现那些最常见的脏话确实没有--这可跟泄漏出的Windows代码和Linux内核代码大不相同哟--或许是Sun的雇员们全是绅士,或许Sun以前清查过 ;-) 那么,OpenSolaris 里的代码就真的那么中规中据吗?
        This is an ugly PCMCIA hack – ugh!--没什么,我能接受
        Couldn’t find the damn thing--别着急,我能理解你的心情
        The following cast ‘makes it all work’. Yes, it’s ugly--我知道你很自律
        This bit me in the ass a couple of times, so lets toss this in as a cursory sanity check--来自率先开放的dtrace
        of this writing (1996) a clock rate of more than about 10 kHz seems utterly ridiculous, although this observation will no doubt seem quaintly amusing one day--在IT圈子做预言从来都是吃力不讨好
        Oops, did not find this signature, so we must advance on the next signature in the SUA and hope to God that it is in the susp format, or we get hosed--知道西方程序员信什么教了吧
        God help us all if someone changes how lex works--你和上面的哥们可能是同一个兄弟会的
        Oh God, what an ugly pile of architecture--还有你
        Darn MS FTP server is a load of CRAP !!!!--进入OpenSolaris中的Perl也把对Microsoft的咬牙切齿带了进去
        另一位显然是JRR Tolkien的The Lord of the Rings 的书迷--Didst thou think that the eyes of the White Tower were blind? Nay, I have seen more than thou knowest, Gray Fool
        还有的哥们品味好像不在Tolkien的魔幻小说上,他引用了Monty Python and the Holy Grail
        GRUB 是引导操作系统启动的门户,他们说--This function is truly horrid, We try opening the device, then severely abuse the GEOMETRY->flags field to pass a file descriptor to biosdisk. Thank God nobody’s looking at this comment, or my reputation would be ruined. --别担心,你已经蜚声世界…

        说句老实话,开放了的Solaris代码有助于打破人们对商业软件的神秘感和对那些一直就存在的Free/Open Source软件的不信任,如果你看到他们都是由相似的人--甚至就是同一拨人--用相似甚至相同的方法编写,你还会觉得那些加了个封套就敢卖天价的东西有那么厉害吗?
        我一直以为,打破权威感是Free/Open Source的另一个“非技术型”成果,就像人们在Internet发展之后发现,原来Internet也能反映和承载民主平等的概念一样,Free/Open Source的意义绝不只Software那么简单。

        via ZDNet Australia 

Tags: