Draft, 29 November 2026: practice to be tried and revised.
Names in a world are read by three audiences: visitors, who see a world's title and the names of its actions; other designers, who link to your arrivals and copy your designs; and you, months later. Names follow the language's rules: letters and digits in camelCase (wallLantern, throneRoom), no hyphens (Expressions).
Worlds
- Give a world a title a visitor would say aloud, and keep it short. "The Lantern Garden", not "lanternGardenV3 (test)". Why: the title is what a portal shows, what a bookmark lists and what a friend is told. A portal card has room for a few words, so a long title will be cut short.
- Keep a world's address stable once others link to it. Why: a portal is a link someone else placed. Moving a world breaks every portal to it, and nobody tells you.
Arrivals
- Name an arrival for the place, not for where it comes from:
arrivals.gate,arrivals.market, notarrivals.fromIsland. Why: any world may link to a published arrival. The name is the promise of where the visitor will stand, and it must stay true whoever links to it. - Treat published arrivals as a public interface. Add new ones freely; keep the old ones, or leave one in place that lands near where it used to. Why: an arrival is the anchor in someone else's link (
world#sectionon the web). Removing it sends their visitors to your default arrival, or nowhere useful. - Give every world one obvious default arrival, where a visitor lands when a link names none. Why: most links will be to the world, not to a place in it.
Parts and designs
- Name a part for what it is in the world, not how it is built:
lantern, notlatheMesh3. Why: a part's name is its path (garden.lantern.glass), which rules, links and other designers use. The recipe may change; what the thing is does not. - Name a design for the kind and its copies for their place or number: a design
wallLantern, copieslantern[k]orporchLantern. Why: the design is what is reused; a copy is one placement of it. - Name fields for what they mean, and booleans for what true means:
lampLevel,isOpen,reachedSummit. Why: a rule readsif door.isOpenwithout needing to look anything up. - Name actions as the visitor would ask for them:
ask,pull,ringBell. Why: the browser shows an action's name in its menu, so the name is what the visitor reads.
Files
- One world, one rendering file, named for the world:
lanternGarden.ddd. A world with state the server keeps has a second file beside it,lanternGarden.state.ddd. Why: the address of the rendering file is the world's address; the rendering file points to its state file, and a name that matches lets anyone looking at the folder see which world it belongs to. - When a world grows into several files, cut them at whole parts and name each for the part it holds:
market.dddfor the market and all inside it. Why: the browser builds the parts near the visitor first; files that hold whole places let it fetch the near ones first. - Keep secrets out of the rendering file. Anything only the server may know (the answer to a riddle) goes in the state file. Why: the rendering file is public; anyone can read it (Privacy and safety).
Open questions
- How a world's title, description and preview are declared, so that portals and bookmarks can show them.
- Whether names may allow hyphens, for readability (Expressions, open questions).