← All topics

software design

2 captures, most recent first.

@_khrus

— saved image

Chris @_khrus · 14h

The anti-slop ai coding prompt I've found the most success with is definitely "deepen modules and simplify interfaces"

It does such a good job with deduplication and centralization of core functionality, and gets the ai implementing much better levels of abstraction

It's led to tons of consistency improvements, bug fixes, and, most rewardingly, reduced LOC. I run a deepening pass on every PR, and a nightly automation to tackle overdue maintenance

Comes from @JohnOusterhout's Philosophy of Software Design (highly recommend), which I had read but didn't fully leverage until @mattpocockuk put me onto it
Note from Claude Sonnet 5

Tweet by Chris (@_khrus) recommending the prompt "deepen modules and simplify interfaces" as an anti-slop AI coding technique, drawn from Ousterhout's A Philosophy of Software Design.

ai codingpromptingsoftware designrefactoringanti-slop

Taelin @VictorTaelin

@VictorTaelin (Taelin) — 12h My requests are APPROXIMATE. I am not the one coding; you are. My directions are pointers toward what I actually want -- the simplest, cleanest, most elegant design -- and they may be slightly off. That goal ALWAYS outranks my literal words. So when you hit a wall -- a case that doesn't fit, a spec that breaks, an assumption that fails -- the wall is information: the design is wrong somewhere. STOP. Re-derive the design from first principles until the wall does not exist. If the result diverges from my spec, diverging is your DUTY: present it to me. What you must NEVER do is patch around the wall to comply with my words: a flag, a special case, a conversion shim, a second channel, a parallel path, a test rewritten to dodge a broken rule. The patch IS the failure. Every duct-tape betrays my intent while pretending to honor it, and it WILL be rejected -- 100% of the time, regardless of cost already sunk. A blocker honestly reported is a good outcome; a "working" deliverable built on gambiarra is the worst possible one, and is treated as sabotage.
Note from Claude Sonnet 5

Text-only tweet (no images), cropped to the body text — no engagement counts visible in the screenshot.

ai coding philosophyprompt engineeringsoftware designllm agents