Re:Perl Cannot Be Parsed: A Formal Proof
by tedunangst on Thursday August 13, 2009 @02:42PM
(#761428)
Is 'whatever / 25 ; # / ; die "this dies!";' an example of the perl most people write, or just an example of what perl detractors claim most people write?
[ Parent
| on HN ]
You mean, is real-world code likely to contain a regular expression with a # character, or a comment with a / character following code with a / character? Not all the time, but it doesn't seem terribly outlandish.
Re:Perl Cannot Be Parsed: A Formal Proof
by tedunangst on Thursday August 13, 2009 @04:18PM
(#761612)
I think a regex with # in it is common enough, but passed to a one-arg function? And followed on the same line by another statement? No. The example takes several things that could be individually probable and packs them into a single rather unlikely line.