Live data from Hacker News

Why I Use Perl: Reliability

modernperlbooks.com

11–20 of 196 posts

Re: Why I Use Perl: Reliability

#11
post #3

Reliability? Sure. Readability? Not so much.

Would you like to post a representative snippet in your favourite lang? I'll try and rewrite in perl and we can compare. (All langs have particular sweet spots, if you do an R or APL oneliner or something it's going to be much more verbose in perl, obviously)

It's not that I think perl will be significantly (or at all) nicer, but I think the readability difference is often overstated and I'd like to test that thought.

Re: Why I Use Perl: Reliability

#12
post #4
post #2

Perl is like C++ for the Web. Bulletproof. Unless you intentionally remove the kevlar plates. But then it's on you ;)

I heard some else say Perl is COBOL of the web. (COBOL is also used by banks for it's reliability)

I always thought Java was the COBOL of the web :-)

Re: Why I Use Perl: Reliability

#13
Good article with some good points. But it did get me thinking, is Perl getting ready to be in a prime position to become the next Cobol? Probability will go up considerably if Perl 6 never comes out to shake up the ecosystem, but even if it does come, what's to say that there won't be Perl 5 applications running into the next century?

Combine its shorthand and with the fact that it's already getting hard to find Perl people, and we could see some dedicated Perl warriors doing very, very well in the coming years.

Re: Why I Use Perl: Reliability

#14
post #7
post #5

I remain unconvinced. Should the amount of effort that it costs to update the interpreter really be the main consideration?

> I remain unconvinced. Should the amount of effort that it costs to update the interpreter really be the main consideration? No, it shouldnt. But it's a proxy measure for the engineering and productisation effort which goes in. It's relatively easy to get features in quickly with breakage. It's easy to have stability with no change. It's relatively hard to continuously improve with good reliability and back-compat.…

I thought implicit deref of references was coming in 5.16 or 5.18, at least in cases where it was unambiguous?

Re: Why I Use Perl: Reliability

#15
post #5

I remain unconvinced. Should the amount of effort that it costs to update the interpreter really be the main consideration?

I'm not chromatic - but I don't think that's the point he's trying to make.

It's not that the the ability to upgrade the interpreter, and several hundred dependencies, and have several tens of thousands of lines of production work easily is good (although it would be tough to argue that it's bad :-)

It's what being able to do that successfully says about the reliability of the perl ecosystem as a whole.

The investment the perl community has made over the last ten years in building the best testing infrastructure of any language (seriously - it's damn excellent), and fostering a community that's values stuff working has paid off in spades.

My experiences match chromatic's in that it just fracking works.

Re: Why I Use Perl: Reliability

#16
post #13

Good article with some good points. But it did get me thinking, is Perl getting ready to be in a prime position to become the next Cobol? Probability will go up considerably if Perl 6 never comes out to shake up the ecosystem, but even if it does come, what's to say that there won't be Perl 5 applications running into the next century? Combine its shorthand and with the fact that it's already getting hard to find Per…

To some extent it's already true. There's a lot of Perl in the financial sector. That community is paying a lot more than the average for Perl dev's already :-)

Re: Why I Use Perl: Reliability

#17
post #4
post #2

Perl is like C++ for the Web. Bulletproof. Unless you intentionally remove the kevlar plates. But then it's on you ;)

I heard some else say Perl is COBOL of the web. (COBOL is also used by banks for it's reliability)

Is COBOL still used by banks? The people I know who work in two different major UK banks suggest everything is Java now, with Oracle as the preferred database solution.

Re: Why I Use Perl: Reliability

#18
post #14
post #7

Earlier quoted context omitted.

> I remain unconvinced. Should the amount of effort that it costs to update the interpreter really be the main consideration? No, it shouldnt. But it's a proxy measure for the engineering and productisation effort which goes in. It's relatively easy to get features in quickly with breakage. It's easy to have stability with no change. It's relatively hard to continuously improve with good reliability and back-compat.…

I thought implicit deref of references was coming in 5.16 or 5.18, at least in cases where it was unambiguous?

It's present in 5.14, though the use of hash operators on array references with automatic dereferencing has some weird potential corner cases.

Re: Why I Use Perl: Reliability

#20
post #3

Reliability? Sure. Readability? Not so much.

The favorite argument of the weak programmer. Some people act like if it's not spelled out for them letter by letter it's not readable. Perl is no less readable then HTML5, given that there is proper indentation. Get over it.
Post reply on HN