What happened
“If you generate code by specifying your requirements instead of specifying your architecture, AI will decide the architecture on your behalf.”
What the archive adds
Doraisamy says Google had sharply restricted available user details since the previous December. The generated logger tried to get a consenting user’s email, fell back to a user ID, then logged an error if neither was available; he says each apparently simple operation made multiple calls to Google’s servers.
His preferred fix: record the installation timestamp, show the welcome screen first, and tell marketing that contact details cannot be obtained at install. If email is essential immediately, he suggests showing the screen first and logging email or user ID asynchronously—but warns that calling the server from the welcome screen could require bypassing security to submit an unauthenticated payload.
He recommends defining the architecture and data model, constraining generated code to them, reviewing the result, and requiring the tool to ask before architectural or design changes. He also says to specify when compatibility matters and when old logic and tables should be removed; keep debugging generated code and hand-code critical parts periodically. In a reply, he says spec-driven development may help but can emphasize requirements over architecture and design.
Trend signal
The prescription fits a broader shift toward specifying, routing, verifying and owning agent output rather than simply maximizing individual production speed. Doraisamy’s advice to constrain and review code is an example of that operating model, not proof that it works in every case.
Why it matters
For builders, “collect install data” is not a complete requirement. Decide whether contact details are truly needed at installation, and state the acceptable trade-offs among latency, authentication, backward compatibility and maintainability. If those choices are left implicit, an agent can satisfy the function while creating a slow or insecure path.
Limits and uncertainty
The slow screen and code path are Doraisamy’s account of one example; his broader claim that coding tools favor function, security and compatibility at the expense of performance and maintainability is an argument, not a measured finding. He also acknowledges that good developers already do architecture, and that architects detached from implementation can produce designs that fail in practice. His prediction that coding as a full-time job is going away does not mean developers’ jobs must disappear.
Reader takeaway
Doraisamy’s example is a small but concrete design failure: install logging ran before the welcome screen and, he says, delayed it by 15 seconds. His proposed lesson is to specify the architecture and trade-offs—what data to collect, when to collect it, and what security or compatibility compromises are acceptable—rather than let a coding agent decide them implicitly.
Open question
If install logging moves to the background, how can it authenticate and transmit the user identifier without bypassing security or bringing back the delay?