Vibeleaderboard
← All Intel
Intel / article

We promoted developers into architects without informing them

Source
manidoraisamy.com
Author
QueensGambit
Date

Context

Mani Doraisamy's essay argues that AI coding tools have quietly handed developers an architect's job. The tools implement whatever functional requirement they are given, usually with care for security and backward compatibility, but they know nothing about the product's scale, its stage of launch or how fast it needs to be. Unless a person makes those design trade-offs first, the model makes them. His evidence is one case from his own team. A colleague had used AI to write logging that recorded each new install of their Google Forms add-on, including the user's email. Because Google had restricted how much user information an add-on may read, the generated code tried to fetch the email, fell back to a user ID, and fell back again to recording an anonymous install. Each of those steps looked like one line but made several calls to Google, and because the logging ran first after installation, the add-on's welcome screen took about 15 seconds to load.

The fix he describes is a design decision rather than better code: record only the install time and tell marketing it cannot send a follow-up email based on an install alone, or, if the email is truly needed, show the welcome screen first and record the email from the browser afterwards, accepting the security trade-off of a server endpoint that does not require sign-in. From that case he draws a job description for developers who work with AI: design the data model first, hold the AI to that design, push back on requirements that slow the product, review its output the way an architect reviews a developer's work, and say when old code and tables should be deleted instead of kept compatible. The essay is an argument from experience and gives no measure of how often AI-written code goes wrong this way, but its example shows the mechanism clearly. A sensible-looking chain of fallbacks became a 15-second wait because nobody had decided that a fast first screen mattered more than collecting every email.

Read the source manidoraisamy.com
Recommended reads
Comments

Checking sign-in…

Loading comments…