top | item 1034860

(no title)

jolhoeft | 16 years ago

Well, he notes in the linked talk that "use strict;" and "use warnings;" will be the default in Perl 6. The fact that your goal is to Huffman encode the language design doesn't mean you'll always succeed. Things change over time. Initially, 15 or so years ago when Perl 5 came out, use strict was a new idea and rarely used. Over time the culture encouraged people to use it pretty much always. The Huffman encoding was right at first, but usage has changed. Changing the language to reflect currently usage is hard if you want to preserve backward compatibility, though.

discuss

order

ytinas|16 years ago

Fine, but what about error handling? It's been known for quite some time that C-style return code checking is a fail. And it certainly makings coding a lot more verbose. There are lots and lots of situations where doing something in perl is just a lot more wordy than other languages that are better about "Huffman encoding".

chromatic|16 years ago

Don't use C-style return code checking in Perl then; use autodie.