Re:Larry Wall has approved renaming Perl 6 to Raku
by wumpus on Friday October 11, 2019 @05:57PM
(#21228864)
Huh, I worked at a company that wrote 1.5 million lines of perl together, and we never ended up with those problems. Maybe you picked the wrong co-workers? You can screw up in any language.
[ Parent
| on HN ]
Re:Larry Wall has approved renaming Perl 6 to Raku
by hpcjoe on Friday October 11, 2019 @10:02PM
(#21230097)
Yeah ... most of my 2-company-ago's software stack was written in Perl. Worked very well.
The specific example cited
while(<>){ $h{$_}++ && ... }
is quite understandable to anyone who has used Perl for more than a few weeks. Its a common pattern. Complaining about this, which is, for the uninitiated, looping over reading each line from STDIN until EOF, incrementing a hash variable indexed by each line, etc.
This is a very common pattern in perl. Draw your own conclusion as to whether complaining about idiomatic language from a "skilled practitioner" is something one should take without a grain or two of salt.
And of course, being Perl, there are many ... many ... ways to accomplish the same task. Leveraging CPAN modules. I'd leave discovering some of the as an exercise for the reader.