News for hackers. Stuff that matters.
Re:Larry Wall Unveils Perl 6.0.0 by mikekchar on Tuesday October 06, 2015 @07:43PM (#10343200)
Perl is awesome for writing big programs in. One of the things that people find frustrating about Perl is its expressiveness -- that is, there are many different ways of doing the same thing. The result is sometimes that you get 100 different people doing things 100 different ways.

This is not so much a problem with the language as it is with programmers not learning to agree on a set of idioms that they will use for a project. They are not reading each others code and having discussions about what they want to see.

Languages that impose "the one true way" cut down on the apparent problems, but you are still going to have massive issues down the road if you build large projects because nobody is paying attention to what the other people are doing. Especially on large projects, it is vital that people read and comment usefully about design issues. In such large projects, removing the choice of idioms available though language design is a bit like deciding not to carry a canary down the mine with you because it keeps getting killed by poisonous gas.

The expressiveness of Perl allows you to choose the idioms that will work best for your team/project. It is true that it requires more discipline and communication, but these are the things that are necessary for success on a big project anyway.

I haven't written any Perl code for years now, but I have always been fond of it. I find that I can write better code in Perl than in many of the more restrictive languages that I've used.

Re:Larry Wall Unveils Perl 6.0.0 by ionforce on Tuesday October 06, 2015 @10:49PM (#10343940)
> Perl is awesome for writing big programs in.

This isn't even remotely true. No static types, no thank you. Runtime errors due to misspelled methods? Missing hash keys? Hilarious.

Boy, I hope this scalar isn't undefined!

Re:Larry Wall Unveils Perl 6.0.0 by kbenson on Tuesday October 06, 2015 @11:01PM (#10343983)
Then you might be pleasantly surprised to learn that Perl 6 has a type system and compile time errors functions (but methods are runtime errors - on purpose).

As for missing hash keys... It sounds like you are using a hash when you really want an object. There are cases where that's preferable, but part of that trade-off is that you need to make sure the data is as you expect it. Perl 6 supports tightly packed (C struct equivalent) objects if you choose.

Re:Larry Wall Unveils Perl 6.0.0 by esaym on Wednesday October 07, 2015 @12:49AM (#10344225)
Compile time checks are not a replacement for a good test suite.
Re:Larry Wall Unveils Perl 6.0.0 by niccaluim on Wednesday October 07, 2015 @02:40AM (#10344540)
And a good test suite is no replacement for being able to express invariants in your code. They are complementary tools.
Re:Larry Wall Unveils Perl 6.0.0 by ionforce on Wednesday October 07, 2015 @11:41AM (#10346644)
Who said they were?
Re:Larry Wall Unveils Perl 6.0.0 by Mithaldu on Tuesday October 06, 2015 @11:15PM (#10344024)
You don't write a lot of tests, do you?