AlgoViz

From prompt to requirements

medium 35 min

The prompt is one sentence.

Watch lesson4:49

Where it shows up

The same pattern appears across everyday software.

  • RFC 2119

    Internet standards use MUST, SHOULD and MAY with fixed meanings from this two page document. SHOULD means: you may ignore it for a good reason, but know what that does.

  • Cucumber and Gherkin

    Gherkin writes examples with Given, When and Then. Its reference calls them an executable specification: the sentence is the test.

  • Kubernetes enhancement proposals

    The template has Goals and Non-Goals under Motivation. Its comment says that listing non-goals helps to focus the discussion.

  • Python enhancement proposals

    PEP 1 asks for sections on rejected ideas and on open issues, so that nobody has to reopen a decision by accident.

  • Rust RFC template

    Asks which questions must be resolved and which related issues are out of scope. Future possibilities get a section of their own.

  • Swift evolution template

    Future directions are kept in one section, so that reviewers do not confuse them with what is proposed now.

  • W3C explainers

    The guide for explainers of web features has goals, non-goals and scenarios, before any solution.

  • Design docs at Google

    A public article by an engineer who worked there describes goals and non-goals. Non-goals are things that could well be goals, but were chosen not to be.