Working Code First, Then Measure and Optimize

#62 - You're Never Coding Alone, How to Be a Good Team Coder - Fernando Doglio

Topic 6 of 11

Published Nov 1, 2021 · Clip 20:31–24:46 (4:16)

Fernando advocates focusing on working code first, which also guards against early optimization: you must measure code before optimizing it, otherwise you're guessing where bottlenecks are. His approach is to get code that solves the problem, then clean it up, then measure and optimize—recognizing perfect code doesn't exist. He explains that how to measure varies by context (laptop algorithms, microcontrollers, distributed systems), and developers must identify relevant KPIs and measure them without the measurement itself distorting performance.