News for hackers. Stuff that matters.
Re:Data munging in Perl 6 vs. Perl 5 by mercurial on Tuesday December 09, 2014 @04:18PM (#8725829)
> treating regex like it's normal code despite the fact that regex could match a keyword easily

I'm confused by this statement. So you could match a Perl keyword with that regexp? What about it?

> It's mixing looping logic with exception logic

It depends on the context, but that's five lines of readable code. Exposure to 20th-century codebases may have lowered my standards, but I don't find it particularly shocking, especially for something that looks like a quick text file processing script. What do you suggest that makes for better code?

There are no comments on this comment yet.