Giving an AI coding agent strict, explicit rules about how it's allowed to write code (like banning side effects/useEffect) makes the output read like code you'd actually want to read.
Scott explains that he heavily constrains how AI agents are allowed to write components (e.g., no effects in Svelte) so that when he reads the generated code, it matches the style he actually wants.
transcript
Scott Tolinski: I heavily dictate the style at which they're allowed to write components in. You know, in the Svelte world I'm saying do not use effect. Don't even think about it. Side effects are almost never the right decision here.
supports · 1