News for hackers. Stuff that matters.
Re:Why Did I Choose Perl When Building Crowdtilt? by kanja on Friday August 31, 2012 @06:38PM (#4461978)
I see these justifications for perl almost every time it comes up - The community, cpan, writing lots of code fast. These are good things, but it's worth pointing out that EVERY OTHER LANGUAGE DOES THAT. Ruby has gem, python has pip - modern languages have these things built in by design. Not to hate on perl, because there's things I like about it, but this article could be retitled "what I like about not using fortran"
Re:Why Did I Choose Perl When Building Crowdtilt? by chromatic on Friday August 31, 2012 @07:11PM (#4462080)
I know of no other language that has anything like cpantesters.org. Everything that gets uploaded to the CPAN gets tested automatically on a large matrix of Perl versions and host platforms, often within minutes of the upload. Furthermore, the entirety of CPAN is the continuous integration test suite for Perl 5 itself.

Edit to add: I know why this sounded familiar! I had forgotten I wrote about it recently:

http://www.modernperlbooks.com/mt/2012/08/why-i-use-perl-tes...

Re:Why Did I Choose Perl When Building Crowdtilt? by tlianza on Friday August 31, 2012 @07:11PM (#4462083)
I use Perl for the Turing completeness.
Re:Why Did I Choose Perl When Building Crowdtilt? by rb2k_ on Friday August 31, 2012 @07:46PM (#4462178)
Java doesn't have any of them.
Re:Why Did I Choose Perl When Building Crowdtilt? by berntb on Friday August 31, 2012 @07:15PM (#4462096)
>> EVERY OTHER LANGUAGE DOES THAT

Do you really know about this?

I've done a bit of Python lately. The infrastructure isn't close (see e.g. Perl Testers, chromatic had a blog post about it quite recently). Also, CPAN is much richer than pypi.

Re:Why Did I Choose Perl When Building Crowdtilt? by asher on Friday August 31, 2012 @09:12PM (#4462331)
Which modules are missing on Pypi?
Re:Why Did I Choose Perl When Building Crowdtilt? by adrianhoward on Friday August 31, 2012 @10:28PM (#4462482)
It's not the modules - it's the infrastructure of the CPAN environment.

See this comment on an old Perl thread for some pointers

http://news.ycombinator.com/item?id=4042344

Re:Why Did I Choose Perl When Building Crowdtilt? by berntb on Friday August 31, 2012 @09:29PM (#4462375)
Off the top of my head -- a serious sql parser and the whole TAP test ecosystem. After a while I stopped checking cpan for what I needed, since I just got angry.

Another difference: In the Perl world, you can find and have dependency trees with dozens to hundreds of modules installed from cpan -- and you expect it to work, particularly since the module tests by default are run at install. (It is a bit painful with too many dependencies, but it works if you need it.)

Re:Why Did I Choose Perl When Building Crowdtilt? by brekken on Friday August 31, 2012 @10:02PM (#4462441)
I think there are many cases where packages may not be in one language repo, but in another. However, Python does have a lot of testing packages available that do a swell job. Also, the JUnit test-report format these days tends to be what I see a lot of.

http://wiki.python.org/moin/PythonTestingToolsTaxonomy

Also, as far as SQL, and even Object Relational Mappers goes, there's SQL Alchemy.

You can verify they are present here, in PyPi: http://pypi.python.org/pypi

Re:Why Did I Choose Perl When Building Crowdtilt? by berntb on Saturday September 01, 2012 @03:59AM (#4463021)
SQL Alchemy doesn't have an SQL parser, which I asked for.

See http://search.cpan.org/~rehsack/SQL-Statement/

It contains a parser and evaluates SQL expressions on lots of data sources(!).

The testing tools on Perl use a common infrastructure and can work with each others in a plugin fashion.