TLDR Dev 2025-04-17
Pinterest’s 3.7M-line TypeScript migration 📄, OpenAI Codex 📜, Astro 5.7 🚀
Migrating 3.7 Million Lines of Flow Code to TypeScript (10 minute read)
Pinterest successfully migrated 3.7 million lines of code from Flow to TypeScript over eight months. The migration used a "big bang" approach using codemods and had three phases: setup, conversion, and integration. Pinterest validated the migration through detailed testing, including daily automated tests, manual testing, and byte-for-byte comparisons of transpiled JavaScript.
Memoizing components in React: a case for useMemo (10 minute read)
`useMemo` is often a better choice than `React.memo` for optimizing component rendering in React. `useMemo` provides more explicit dependency tracking, makes optimizations visible at the usage site, and has granular control.
Codex (GitHub Repo)
The OpenAI Codex CLI is an experimental, open-source coding agent for devs who work in the terminal. It provides ChatGPT-like reasoning with the ability to run code and manipulate files.
Introducing OpenAI o3 and o4-mini (20 minute read)
OpenAI has new models, o3 and o4-mini, that are more intelligent and efficient than previous versions like o1 and o3-mini. These models also have improved safety features, including a rebuilt safety training data and system-level mitigations.
Astro 5.7 (8 minute read)
Astro 5.7 has been released. The Experimental Fonts API allows for easy integration and optimization of fonts from various providers. The stable Sessions API allows for secure server-side storage of user data, supporting type-safety and cookie-less options with various storage drivers. SVG components are now natively supported, allowing direct import and use of SVG files as components within Astro projects.
Tract Postmortem (45 minute read)
Tract was a UK startup trying to address the housing crisis by improving the planning permission process. It explored various business models, including site sourcing, land appraisal, land promotion, and an AI-powered planning document editor, but struggled with a conservative market, complex land promotion, and low willingness to pay. The founders concluded that the British market's limitations made venture-backed disruption difficult and decided to shut down the company and return capital to investors.
OpenAI in talks to pay about $3 billion to acquire AI coding startup Windsurf (3 minute read)
OpenAI is reportedly in discussions to acquire Windsurf, an AI-powered code editor with a VSCode extension, for around $3 billion. Windsurf, a competitor to other AI coding tools like Cursor and offerings from Microsoft and Anthropic, is VC-backed and was recently valued at $2.85 billion.
The most important software engineering news in one daily email
Join 450,000 readers for
one daily email