Folders: The Programming Language Where Empty Directories Are Code and Storage Is Infinite

The Folders Programming Language

Folders: The Programming Language Where Empty Directories Are Code and Storage Is Infinite

Daniel Temkin's Folders is an esoteric language where code lives in the containment and order of directories, with folder names ignored except for alphabetical sorting. Inspired by Whitespace, it turns empty folders into commands and data, and on Windows, where folders consume zero disk space, it offers infinite storage. A spec, emulator, and GitHub compiler are available.

The empty folder is clutter, an appendage with no purpose. In git, it is ignored entirely.
  1. omoikane

    It says the folders are evaluated in alphabetical order, but actually it's evaluating them in natural sort[1][2]. This makes sense since Windows also displays folders in natural sort order.

    [1] https://github.com/rottytooth/Folders/blob/015cf65c15ab681f5...

    [2] https://en.wikipedia.org/wiki/Natural_sort_order

  2. Hugsbox

    "In Windows, folders are an even more extreme measure of emptiness: they take up no disk space at all. For proof, create 352,449 folders and get properties on it."

    I'm guessing this is a joke and I'm just taking it too seriously, but the only thing that "proves" is that Windows lies to you lol. It's obviously information that's stored _somewhere_.

  3. TaLiTr

    Imagine being the guy trying to figure out why a Windows server is running out of space, and finding 23 million empty folders being used to define software for prod.

  4. letharion

    I can't decide if I'm in awe, or angry.

    At least it looks more useful than the flying Tesla.

  5. nunodonato

    This is so nuts and pointless... I love it!

    The kind of thing no AI would ever come up with :)

More from this day

2026-10-16