Waywords naming technique

Working Effectively with Legacy Code and AI Coding Assistant - Michael Feathers

Topic 18 of 22

Published Oct 14, 2024 · Clip 47:14–48:54 (1:39)

Michael describes 'waywords,' a chapter he released on LinkedIn: when iterating on a prompt for a recurring AI operation, you should name the operation—like introducing a method or variable name—and then refer to it in natural language. You can even ask the AI for a summary prompt to reuse in other sessions. Naming things as you go along creates handles that make working across a session much easier.