93% of paint splatters are valid Perl programs (2019)(mcmillen.dev)
567 points by zenincognito 18 days ago | 79 comments
tl;dr: A SIGBOVIK 2019 joke paper empirically investigates whether paint splatters can fail to be valid Perl programs. Using OCR to interpret 100 paint splatter images, the author found that 93% parsed as valid Perl, and presents seven counterexamples along with a gallery of the resulting programs.
HN Discussion:
  • ↑General appreciation for SIGBOVIK papers and the humor/creativity of the work
  • ~Technical note that results depend on Perl5's permissive parser; a stricter PEG parser would reject most splatters
  • •Tangential analogy to other permissive formats like Java properties files
  • •Nostalgic reflection on Perl's quirky syntax and expressiveness
  • ↑Suggestion to extend the experiment by reversing it (paintings from Perl programs)