Skip to content

Philosophy

This page lists the principles the Biome team follows when running the project and designing features, and that contributors are expected to follow too. The list is not exhaustive. For the principles behind what Biome offers its users, see Design principles.

  • Set clear expectations. Make the intent of the project and its decisions known well in advance, so that nothing comes as a surprise.

  • Communicate decisions publicly. The team can evaluate options and make decisions in private channels, and frequent private check-ins can happen. The team tries to hold discussions in public channels, like GitHub discussions or Discord. When a decision is made in a private channel, the team commits to communicating it in the public channels.

  • Suggest fixes and hints in errors. Infer them from usage and filter them, so that errors do not surface irrelevant or unhelpful messages.

  • Write unique and specific error messages. Avoid generic error messages. A specific message helps users understand what went wrong, and gives maintainers a unique call site and the information they need to debug.

  • Question every option and flag. Ask whether it is necessary, whether it can be combined with another one, and how to reduce code branching.

  • Document the code. Document as much of the code as possible, especially code that is hard to read or logic that needs an explanation. Documented code is easier to maintain, especially when several people work on it, and the next developer benefits from your knowledge.

  • Reduce jargon. Do not assume that users understand specific terminology. Aim for wording that is precise for experts and clear for beginners. For example, use “character” where you would traditionally use “token” in parser errors.

  • Name commands and flags in full. Avoid unnecessary and confusing abbreviations.

  • Use inclusive terminology. Use gender-neutral pronouns, avoid ableist slurs, and avoid terms that could be considered insensitive.

  • Build for generic clients. Do not assume that output is only consumed by a terminal that understands ANSI codes. Use abstractions that also work in an IDE, a browser, or other environments.

  • Make terminal output unambiguous. Do not rely only on formatting cues like color. Combine formatting, symbols, and spacing, so that the output is still understandable when every ANSI code is stripped.