[PerlChina] Perl with opensources

agentzh agentzh at gmail.com
Sun Oct 5 23:52:53 PDT 2008


2008/10/6 agentzh <agentzh at gmail.com>

> 2008/10/6 Achilles Xu <formalin14 at gmail.com>
>
>>
>>
>> 关于perl和python,从表面或者纯理论上看,python是比perl要动态好多。perl里高深的glob/符号表技术,在python里是非常基本的自醒能力。
>>
>
> 不太认同 python 比 perl 动太好多的提法。。。虽然我不是 python 程序员。自省在 perl
> 里比较奇怪是因为语言设计者当时认为只有高级程序员才用得着它们,所以把接口设计得奇怪一些,以免初学者滥用(当然了,这只是一种解释),呵呵。
>

忘了提了。。。CPAN 上有 Class::Inspector 模块(Alias++),提供了用户体验更好的自省接口,我在自己的
UML::Class::Simple 模块中大量使用了 Class::Inspector,毕竟那个场合就是玩自省的,为了从 Perl 类库直接生成
UML 类图嘛!呵呵

Cheers,
-agentzh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/china-pm/attachments/20081006/c9cd028f/attachment-0001.html>


More information about the China-pm mailing list