お願いですから、リンクを使ってください!
シングルページアプリケーション(SPA)でよく見られる、本来リンクであるべき要素をdivやbuttonで代用したり、アンカータグからhref属性を省略する実装の問題点を指摘。ブラウザの戻るボタンが機能しなくなる、アクセシビリティが損なわれるなど様々な不具合が生じるため、正しくネイティブなリンク(<a href="...">)を使うよう強く訴えている。
シングルページアプリケーション(SPA)でよく見られる、本来リンクであるべき要素をdivやbuttonで代用したり、アンカータグからhref属性を省略する実装の問題点を指摘。ブラウザの戻るボタンが機能しなくなる、アクセシビリティが損なわれるなど様々な不具合が生じるため、正しくネイティブなリンク(<a href="...">)を使うよう強く訴えている。
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 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 argues that Lucas Costa's concept of "backpressure" for systems handling code-generating AI is a misnomer. Backpressure signals upstream processes to slow down, while Costa's suggestions are about improving quality, not reducing quantity. The author proposes "lean manufacturing" as a more accurate analogy for managing unstable inputs from AI-generated code.
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.
A developer asks if there's a Windows API to exclude the cursor from a region (the opposite of ClipCursor). The answer is that no such feature exists, but the same effect can be achieved virtually by clipping the cursor to the inverse of the desired exclusion region.