Voice-Activated Code Editing
AI gen activates on a double-tap of the Control key. Speak the request, release Control, and the change lands in the editor. Miller asked for the factory design pattern, deprecation of the existing notification class, and new types in separate files. All three landed in one pass. The AI gen navigator panel, bound to F8 and F7, then steps through every diff point so nothing is accepted blindly. The interaction reads like briefing a teammate, not writing a prompt.
Sequential Refactoring with Obfuscated Intent
Miller took a dense ProcessData method and ran three sequential voice commands before asking AI to break it apart. First: extract all hard-coded strings into an array. Second: strip all comments. Third: “I’ve got a big method here. I want to break it into small ones.” The obfuscation pass was deliberate. Strip the clues, then see if the AI still finds the right boundaries. It did: ProcessData became calls to ReadData, FilterValidLines, TransformData, and SaveData.
Building a UI from a Blank Canvas
Starting from a blank WPF window, Miller described a calculator app in one spoken request: buttons, operators, a display for input, and a running total. The app compiled and ran. 88 times 2 equals 176, confirmed in the WPF calculator running (07:40). Two more voice commands then styled the number buttons and operator buttons separately, each at 80x80 pixels with a 24-point font. The whole sequence from blank canvas to styled, working calculator took under four minutes.
Test Generation, Failure, and Live Debugging
Miller built a Fraction class, asked for test cases, and got a failing test immediately: 1/2 times 2/3 was not reducing to 1/3. A voice command added a Simplify method using GCD. Another renamed GCD to GreatestCommonDivisor. Five tests passed. Then Miller pushed further with the string-equation test format (13:53), parameterized tests, a live debug stepthrough, a hot reload mid-session, and a DebuggerDisplay attribute added on request. The whole TDD loop ran inside a single debug session without restarting.
Notable Quotes
Faster, smarter, cheaper. Mark Miller · ▶ 0:16
I love it, I love it, I love it, I love it, I love it. Mark Miller · ▶ 15:19
This is kind of pushing things to the limits. Mark Miller · ▶ 14:43
Key Takeaways
- Double-tapping Control triggers voice-to-code editing with a diff navigator for reviewing every change.
- Sequential voice commands can refactor obfuscated code into well-named methods without readable string clues.
- AI gen handles the full TDD loop: class creation, test generation, failing-test diagnosis, and fix in one session.