Linked by David Adams on Tue 14th Jul 2015 23:21 UTC
Original OSNews Interviews From Linux Voice: "Perl 6 has been 15 years in the making, and is now due to be released at the end of this year. We speak to its creator to find out what’s going on."
Thread beginning with comment 614147
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[6]: Why perl?
by Delgarde on Thu 16th Jul 2015 01:38 UTC in reply to "RE[5]: Why perl?"
Member since:

I strongly disagree with that sentiment. If that's the case why aren't we all programming in Fortran or Cobol? Both are perfectly functional and Cobol particularly is quite maintainable and easy to read.

Because they're not all equally functional for a job. There are problems for which Fortran is traditionally very well suited, hence it's ongoing popularity for those problems - for those problems, it does the job required better than anything else.

But you wouldn't use it for everything, because for other problems, other languages do a superior job of expressing the solution to that problem. And it's nothing to do with beauty, any more than the decision to use a hammer versus a screwdriver for nails and screws - it's simply that a hammer works better for one case, and the screwdriver works better for another.

And my problem with Perl is that while it used to be indispensable to me as a tool, these days I can't think of any problem that another tool won't be at least as well suited.

Also - and this is hard to define, it is a subjective feeling - it seems to me that elegant, pleasant, concise, well formatted, 'beautiful' code is easy to maintain rather than the stuff that just fits the coding standards of the company.

I think you have that around the wrong way. The purpose of writing concise, well-formatted code is to ensure that the next person to maintain it (possibly yourself) can read it. Maintainability is the driver - any aesthetic quality is a side-effect of something well suited to purpose...

Reply Parent Score: 3