A scene-level method groups action-level operations into one recognizable step of a larger story, keeping related work coherent and readable. section 2.5
A useful scene-level method:
- Focuses on one recognizable step of the story. section 2.5
- Composes action-level methods with limited supporting logic, such as one loop, simple conditionals, or error handling. section 2.5
- Calls at least one action-level method; otherwise, treat it as an action rather than a scene. section 2.5
Rewrite a long method as a story
Take a method longer than 50 lines, identify its meaningful chunks, extract low-level actions, group related actions into scenes, and restructure the original as a chapter-level method. Review whether its ending communicates success or failure and cleans up resources. section 2.5
Scene: - Up to 6 chunks - Focuses on one recognizable step of the story. - Composes Actions plus simple supporting logic: 1–2 conditionals, 1 loop, or error handling. A Scene must call at least one Action. - Downgrade rule: If a method that would be a Scene calls no Action — only direct inline logic — demote it to an Action.
Use the scene criteria to judge whether a method represents one coherent story step or should be demoted to an action. section 2.5
