Syntax - Tasty Web Development Treats
Syntax - Tasty Web Development Treats

1019: LGTM, Ship It: The AI Code Review Problem

This episode tackles the growing pains of AI-assisted development, from the struggle of reviewing thousands of lines of agent-generated code to the mounting technical debt when teams merge PRs without meaningful human review. Scott and Wes also dig into local models, whether jujutsu really beats git

Featured Speakers

Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers Host

Topics Discussed

Episode Summary

Executive Summary: This Syntax potluck episode focuses on practical AI coding workflows, the risks of overusing AI-generated code, and how teams should adapt engineering practices in the age of automation. The hosts advise tighter prompting, stricter rules, and smaller UI changes, warn that massive PR throughput can worsen technical debt, explain what local AI models actually are, compare Git alternatives like JJ and emerging version-control tools for agents, discuss value-based pricing for freelancers, and close with hardware and robot sick picks.

Main Topics: Understanding AI-generated code more effectively: Listeners struggle to read large AI-generated components. The hosts recommend terse inline comments, strict prompting rules, and smaller, more controlled UI changes so the resulting code matches human expectations and is easier to reason about. AI-driven velocity and technical debt: A team merging dozens of AI-assisted PRs weekly is presented as an example of speed outpacing review. The hosts argue that AI amplifies old software engineering problems—duplication, fragile architecture, and missing tests—rather than eliminating them. What local models really mean: The hosts clarify that 'local' means the model runs on your own machine, not merely through a local app that still calls an API. They frame local models as best suited for targeted tasks rather than replacing frontier models for general-purpose work. Git, JJ, and next-generation version control: A discussion of JJ highlights its compatibility with Git, undo-friendly operation logs, auto-rebasing, and bookmarks instead of branches. The hosts also mention emerging tools like Zed’s Delta DB and suggest agent-first version control may be the real frontier. Pricing freelance and contractor work in the AI era: The hosts argue that work should continue to be priced by value delivered, not time spent, even if AI reduces implementation time. They note that AI changes execution speed but not the business logic of billing for outcomes. Frameworks, libraries, and dependency discipline: A question about Angular and external libraries leads to a pro-standards stance: use fewer dependencies when possible, especially as AI can generate needed utilities internally. The hosts caution against long-term maintenance costs from unnecessary packages. Sick picks and experimental hardware: The episode closes with a repaired pair of Bose QC35 headphones and a Hugging Face/Pollen robot as picks. The robot is positioned as an open, programmable device for AI experiments, education, and future app ideas.

Key Arguments: AI-generated UI code is often hard to understand because it may be structurally unfamiliar, overuse effects, or overcomplicate simple logic; comments and strict style rules make it easier to review. For UI work, smaller, more incremental AI-assisted edits are safer than asking for large components or sprawling refactors. Teams merging huge numbers of AI-generated PRs without meaningful human review are likely accelerating technical debt and architecture drift. AI does not remove traditional software engineering needs; tests, linting, conventions, and code standards matter more than ever. Local models are only truly local when inference runs on the user's machine; many 'local' apps are just API front ends. Local models are best for specialized tasks such as detection, categorization, speech tools, and browser-based ML, not for matching top-tier frontier LLMs on general tasks. JJ is appealing because it is Git-compatible and undo-friendly, but the mental model shift away from branches may limit adoption. Freelancers should charge for the value delivered to the client, not the hours AI saves them. External libraries can reduce work, but they also add dependency and maintenance risk; with AI and modern browser APIs, fewer dependencies may be preferable. The new robot represents a broader shift toward programmable physical interfaces for AI apps, education, and interactive tooling.

Data Points: PRs per developer per week: 60 - Example of a team merging very high volumes of AI-assisted pull requests in one release cycle. PR size span: 20 to 70 files - Describes the breadth of changes in the high-volume PR workflow. Code volume per PR: thousands of lines of code - Used to illustrate the scale of changes being reviewed with minimal human scrutiny. Release cycle length: about a week - The rate at which those 60 PRs are being merged. Old headphone age: 10 years - The Bose QC35 headphones used in the sick pick. Robot build time: about two hours - Time spent assembling the Hugging Face/Pollen robot with family help. Robot instruction booklet: 50-page - The assembly documentation for the robot. Robot versions: 2 - The hosts mention two versions of the robot, including one with a built-in Raspberry Pi. Local model clarification: runs on your local machine - Definition given for what counts as a local AI model. Hammer.js age: last release seven years ago - Cited as an example of dependency staleness and maintenance risk.

Pivotal Quotes: "The bottleneck is trying to review it and make sure that what is implemented is actually not even that it has to be good code, but it actually does what you're doing and not breaking everything." — Wes Bos: Explaining why AI-assisted PR volume is creating review and quality-control problems. "AI hates to remove code, even when you beg it to remove code." — Scott Tolinski: Discussing why AI tends to increase technical debt and code bloat. "Local models are just models that you're running on your local machine." — Scott Tolinski: Clarifying the basic definition of local AI models.

Implications: Teams should slow down and enforce stronger engineering discipline as AI raises output volume. Expect more tools for agent-friendly version control, more scrutiny on dependencies, and growing demand for specialized local models and physical AI devices.

🔓 Sign Up for Unlimited Episode Search

About Syntax - Tasty Web Development Treats

View all episodes from Syntax - Tasty Web Development Treats