リーン、バックプレッシャーにあらず
Lucas Costa氏がコード生成ロボットに対応するシステム構築について優れた記事を書いたが、その概念を「バックプレッシャー」と呼んだのは適切な比喩ではない。バックプレッシャーは上流プロセスに「速度を落とせ」と伝える信号だが、Costa氏の提案は主に「やり方を変えろ」と伝えるものであり、量よりも品質の確保に関するものだ。筆者は代わりに「リーン製造」の比喩を提案する。
Lucas Costa氏がコード生成ロボットに対応するシステム構築について優れた記事を書いたが、その概念を「バックプレッシャー」と呼んだのは適切な比喩ではない。バックプレッシャーは上流プロセスに「速度を落とせ」と伝える信号だが、Costa氏の提案は主に「やり方を変えろ」と伝えるものであり、量よりも品質の確保に関するものだ。筆者は代わりに「リーン製造」の比喩を提案する。
The author rejects becoming a "reverse centaur"—a term for humans forced to review machine-generated code—after observing a surge in LLM-produced pull requests to his open source projects. Despite his personal decision not to use generative AI coding tools, he now spends increasing time reviewing code written by AI and explains how he resists this role.
The author, who once advised his sister to use code libraries without fully understanding them, now finds himself unable to commit AI-generated code he doesn't fully comprehend. He recounts spending 10 hours fixing code that an LLM produced in 12 minutes, and notes that while others trust AI code generators like a car engine, his need to understand every line negates any productivity gains.
The article argues that many single-page app developers misuse divs or buttons with onclick handlers instead of proper anchor tags for navigation, breaking browser history, accessibility, and native link features. The author urges using native `<a href>` elements or framework Link components.
The article argues that disallowing trailing (or leading) separators in languages like JSON, Haskell, and Prolog was a design mistake, as it makes adding or removing elements more complex. It highlights languages like Python, Go, and Alloy that permit trailing commas, and notes potential parsing ambiguities when trailing separators are used in control-flow contexts.
The article explains that the Windows thread pool is optimized for throughput rather than low latency, which can cause delays in task execution. It discusses the trade-offs between throughput and latency when scheduling work on thread pools.