Article may be outdated

This article is 6 days old. Some details may have changed since publication.

Hacker News·2 min read·medium

93% of Paint Splatters Are Valid Perl Programs (2019)

Z
zenincognito
93% of Paint Splatters Are Valid Perl Programs (2019)
✦AI Summary

A humorous research paper presented at SIGBOVIK 2019 explores whether random paint splatters can be interpreted as valid Perl code. Using OCR software, the author determined that 93% of the splatters could be parsed as valid, albeit nonsensical, Perl programs.

Why it matters

It highlights the intersection of computer science, creative expression, and the often absurd nature of programming language syntax.

✦Dive DeeperCreate a free account to unlock

TLDR: read the paper and view the gallery of pretty Perl programs .

In this paper, we aim to answer a long-standing open problem in the programming languages community: is it possible to smear paint on the wall without creating valid Perl?

We answer this question in the affirmative: it is possible to smear paint on the wall without creating a valid Perl program. We employ an empirical approach, using optical character recognition (OCR) software, which finds that merely 93% of paint splatters parse as valid Perl. We analyze the properties of paint-splatter Perl programs, and present seven examples of paint splatters which are not valid Perl programs.

Continue reading on Headlinne

Create a free account to read the full article.

Read full article →
technologyscienceculture
✦

Get smarter about the news

Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.

Create free account

Already have an account? Sign in