Code is the easy part, or how we refactored half the business to fix a janky script
2026年6月17日
AI 摘要 AI 生成,可能有误
This article is a startup engineering 'war story' about how a janky script that originally worked eventually faced far greater demands, forcing the team to refactor half the business — compared to turning a leaky rowboat into an aircraft carrier. The author argues that writing code is the easy part; the real difficulty lies in coping with arbitrary, capricious business rules like timezones. Despite the chaos, the author embraces these kinds of messy, large-scale engineering challenges with enthusiasm.
This is a war story. The kind that puts timezones to shame. I think timezones are pretty easy, honestly. They're just the first time many of us deal with arbitrary capricious business rules.
Classic startup engineering story: Someone had built a leaky rowboat. It worked! Then we started flying the rowboat as a Cessna. What we needed was an aircraft carrier.
I love this shit 😈
继续阅读全文
为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。
AI 摘要The article describes using hillclimbing to recursively self-improve a prompt for a blog article category classifier. After a few iterations, the classifier's precision improved dramatically from 28.7% to 70.6%, though recall slightly decreased from 51.7% to 47.3%. Overall, the author reports the approach worked wonderfully, with F1 score rising from 36.9% to 56.7%.
AI 摘要The article argues that software has no inherent value, humorously noting that nobody buys software just to admire it. Instead, software is merely a means to an end, and its true worth lies in what it enables people to accomplish.
AI 摘要The author, still overwhelmed by code review, explains how they raised auto-approved and merged pull requests to about 16% and aims to reach 60%. They argue that 100% automation isn't realistic because some changes are high-risk, require coordinated deployments, or need additional feedback before they're ready. They also note that manual review preserves valuable mentoring opportunities for junior team members.
AI 摘要The author celebrates completing a design system migration for the first time in their career, finding the new math on big rewrites gratifying. They argue that at scale, a company is perpetually mid-migration or mid-rewrite, since organizations change every few months and systems built years ago become unfit for purpose. Therefore, how a team handles these migrations is what truly matters.
AI 摘要The author describes working at a 21-person engineering organization that ships code with remarkable velocity—merging multiple times per day, auto-approving 16% of pull requests, and letting AI write 97% of their code—while still maintaining reliability in a business where outages cost thousands of dollars. The central takeaway is that when AI makes writing code cheap and fast, human judgment becomes the engineer's primary job.