ZeroDailyGet it on Google Play

Researchers prove 93% of random paint splatters are valid Perl code

Original headline: 93% of Paint Splatters Are Valid Perl Programs (2019) — mcmillen.dev

More in Programming and developer news

In a 2019 paper presented at SIGBOVIK, researchers conducted a delightfully absurd experiment: they used optical character recognition software to analyze paint splatters on a wall to determine what percentage would parse as valid Perl programs. Their findings showed that 93% of random paint splatters were indeed valid Perl code, with only 7% failing to parse. The paper explored the properties of these unintentional programs and included examples of splatters that didn't work.

For programmers, this highlights Perl's famously flexible and permissive syntax - so flexible that even accidental patterns created by paint can form valid programs. The research serves as both a humorous critique of Perl's 'write-only' reputation and a genuinely interesting exploration of how programming language syntax interacts with random patterns. The takeaway: if you ever doubt Perl's ability to turn anything into code, just throw some paint at a wall.

Read the original at mcmillen.dev

Satirical commentary on real tech news, summarised with AI. Read the original source for the facts. How ZeroDaily works

Open in the appGet it on Google Play

More stories

Add ZeroDaily on Google