TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Why I Like Perl

12 点作者 antiform大约 17 年前

2 条评论

hsmyers大约 17 年前
Good read. Comments are interesting as well. Since I started with Python and then switched to Perl, I guess this means I'll have to learn Haskell now. BTW when I made the switch I noticed immediately that I found Perl far more 'comfortable' then Python. I later came to the conclusion that there was a relationship kind of thing; if you liked/loved 'C' then you would feel the same about Perl. If you liked/loved 'C++' then you would feel the same about Python. Absolutely no evidence beyond the intuitive here just something that came to me...
评论 #176176 未加载
评论 #176122 未加载
SwellJoe大约 17 年前
Mostly interesting, though some of his assertions are somewhat questionable. Like saying that Perl5 takes its OO style from Python. I'd like to see some citations on that, as I don't find them at all similar (beyond both being object systems in a dynamic language). The JavaScript module pattern (which obviously came later) feels more like Perl 5 objects to me. Likewise for some Lisp and Scheme object systems that make use of innate closure support to build the object system from primitives rather than building it in--Perl objects are effectively hashes with almost no new core language features (bless, and the new special variable @ISA, primarily).