TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Perl Already Won

80 pointsby anaolykarpovover 10 years ago

15 comments

DougHaberover 10 years ago
I have written a lot of Perl code over the years, and I also hold the uncommon opinion that it is a great language, and often a far better choice than other similar languages for a lot of tasks. I agree with the author of this article that most people who criticize it are extremely ignorant about it.<p>The most common complaints about Perl tend to be about the code of people who don&#x27;t know how to write Perl. Since when is it reasonable to judge a language on how the amateurs use it, instead of the professionals?<p>Perl does have its warts, but no language is an exception to that. When you learn to use a language well, the warts no longer matter. You get into the habit of writing code in a way that doesn&#x27;t brush up against them, and that holds true for every language out there.<p>To clarify any mention of Perl 6, you need to realize Perl 6 isn&#x27;t Perl. It is a whole different language with a really bad name. I know this has caused great confusion, but Perl 5 is extremely stable, still being developed, and not going anywhere. You don&#x27;t need your Perl 5 programs to run in a Perl 6 interpreter any more than you would need them to run in a Python interpreter.<p>I have written my share of code in other languages, but I always return to Perl. As a C and Unix programmer, it feels like a very natural fit in ways that other languages completely do not. It has amazing string parsing, a superb (though extremely misunderstood) OO system, tons of great libraries, direct interfaces to POSIX and other system interfaces, really good database interfaces, networking, and protocol wrappers, very flexible interfaces to native code, and a really brilliant and well evolved design.<p>While you should always use the right tool for the job, Perl is a better choice far more often than people are realizing these days. There is so much anti-Perl sentiment out there, and the great majority of it is completely misplaced and made by people who haven&#x27;t properly learned how to use Perl.
评论 #8908532 未加载
评论 #8909014 未加载
评论 #8909007 未加载
damon_cover 10 years ago
I used to use Perl. I got lots done in Perl from around 1998-2003, but I never really felt like I was having fun or really understood the language very well. I just figured out what I needed to.<p>Then I happened upon some Python code I needed to fix. Within a week or less I already felt like I &quot;knew&quot; Python better than I would ever know Perl. It was fun and inspiring and felt so elegant and powerful! I never typed another line of Perl.
评论 #8908320 未加载
mgkimsalover 10 years ago
&quot;I believe the main reason haters gonna hate Perl forever is because their language of choice will never achieve its dominant adoption.&quot;<p>You keep believing that. It&#x27;s not true, but keep believing it.
评论 #8908422 未加载
ZenoArrowover 10 years ago
So it won because of historic marketshare? By the same logic, Commodore 64 already won. All those C64 haters with their new machines are just jealous.
评论 #8908554 未加载
V-2over 10 years ago
&quot;I think that the average age of a Perl developer is about 35 years (I have no official data for this, my hunch is based on the people I saw at numerous YAPCs I had the opportunity to be present at).<p>Assuming this is true and assuming a dev enters into production at 23 years old, it results that the average Perl developer has 12 years of software development experience. What kind of code would you prefer in your business critical, money making software products? one written by people with an average of 12 years experience in the language of choice&quot;<p>Whoah, hang on there. Even if they did have an average of 12 years of experience, it hardly means that it&#x27;s been Perl all this time.<p>Obviously the reasoning that led to this bit isn&#x27;t rock solid, either ;)<p>&quot;[...] or one written in a language that appeared on the radar in the last decade: Ruby on Rails, the framework that made Ruby popular was launched in late 2005&quot;<p>2005, that&#x27;s 9 years of experience at best. How lame in compare to 12 :)<p>(Don&#x27;t trust Android devs, Android didn&#x27;t come out until autumn 2008)
评论 #8908222 未加载
评论 #8908351 未加载
评论 #8908276 未加载
foobarianover 10 years ago
One feature I like for enterprise languages is preventing developers from writing too clever&#x2F;magic&#x2F;brittle code. This usually boils down to compile-time type checking, good module system, and fewer rather than more language features. Nothing like digging into some old code to do a bugfix and finding out it&#x27;s a Ruby app where some cowboys decided to write their own magic framework that intercepts field assignments, has heavily data driven control flow, or a Scala app written by a code golfer. Perl suffers from that problem as well, which is too bad given how robust it has proven over the years.
评论 #8908247 未加载
tszmingover 10 years ago
Perl&#x27;s motto: TIMTOWDI (There Is More Than One Way To do It) &lt;-- This include using other languages such as Ruby&#x2F;Python to solve your problem.
misnomeover 10 years ago
Fine, yes, Perl &quot;Won&quot;. The problem is, that war happened two decades ago and has very little relevance to the state of things today.
gusfooover 10 years ago
I still love Perl. I&#x27;ve done more diverse tasks in that language than any other. In fact, I think that the only more go-anywhere-do-anything language that exists is C, but why bother with the hassle of C when Perl is there?
lazyloopover 10 years ago
Ruby is dead. <a href="http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html" rel="nofollow">http:&#x2F;&#x2F;www.tiobe.com&#x2F;index.php&#x2F;content&#x2F;paperinfo&#x2F;tpci&#x2F;index....</a>
评论 #8908458 未加载
评论 #8908597 未加载
评论 #8908297 未加载
teamhappyover 10 years ago
I don&#x27;t know much about Perl, but after seeing &quot;The Perl Jam: Exploiting a 20-year old Vulnerability&quot; from 31C3 it really doesn&#x27;t feel like it&#x27;s winning. You don&#x27;t need to know Perl to have a great time watching the talk (at least I didn&#x27;t).<p><a href="https://www.youtube.com/watch?v=gweDBQ-9LuQ" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=gweDBQ-9LuQ</a><p>---<p>I don&#x27;t know if the talk is any good <i>if</i> you actually do know Perl.
评论 #8908325 未加载
评论 #8908408 未加载
评论 #8908330 未加载
randomstringover 10 years ago
I wouldn&#x27;t call it #winning. Did Edmund Hillary &quot;win&quot; because he climbed Everest first?<p>I think the misunderstanding of Perl is based in the &quot;There is more than one way to do it&quot; philosophy. A corollary to that motto could be &quot;There is no right way to do it.&quot; Using that corollary, no matter what Perl code you look at the correctness is in the eye of the beholder.<p>Even looking at your own code a year later, you&#x27;ll ask yourself &quot;why did I do it that way?&quot; This is because the Perl syntax and choice of modules is so deep and varied that you cannot help but continuously evolve your style.<p>It takes real world trial and error of writing and reading Perl code to build your own style and get a handle on what good, readable Perl code should be... for you.<p>Haters <i>are</i> going to hate, but Perl programmers know the power and aren&#x27;t going to it give up. Winning isn&#x27;t everything. Getting there first? Well, that just means you should respect your elders. :)
NiklasPerssonover 10 years ago
Ok guys, let me speak for the sane people of the world: Who cares???<p>I mean, what are we even talking about? Pearl &quot;won&quot;?? Won what, exactly? The internet? The.... money? WHAT THE FUCK! Please stop this, ok? This makes no sense at all and it&#x27;s probably the most ridiculous discussion on the planet right now.
评论 #8908333 未加载
smallsharptoolsover 10 years ago
Perl was the language that I used many years ago but I moved on. Perl 6 was announced in 2000 and took over 10 years to see a release and by then most developers moved on like I did. When a language takes that long between releases there&#x27;s clearly a lack of enthusiasm and support for the language. And touting market share? That is a pointless argument. You should be working with multiple languages and move past these silly blog posts.
评论 #8908213 未加载
评论 #8908470 未加载
评论 #8908471 未加载
yV2n2Eover 10 years ago
perl lost because it was unable to do asynchronous processing. folks forget that the big web 2.0 innovation was a proliferation of ajax and related technologies, which was the precursor to webapps, iPhone ecosystem, etc.
评论 #8908558 未加载