The Algorithm of Life

About the Book

The Algorithm of Life distills years of product thinking and life experience from Yu Jun, former Baidu VP of product and Didi product advisor. The book creatively applies product managers’ mental models to life’s decision-making, proposing a unique “algorithm for life”. Blending economics, psychology, and game theory, it aims to help readers make better decisions and optimize their life strategies.

Core Concepts

According to my reading log, I read this book in August 2020. Its core concepts include:

  1. Life is a product iteration: treat your own life as a product, and keep raising its value through continuous learning, practice, reflection, and iteration.
  2. Decision quality determines quality of life: life is a series of decisions, and raising your hit rate on the critical ones is the core of success.
  3. Probabilistic thinking: the world is full of uncertainty, so learn to see problems through the lens of probability and pursue options with positive long-term expected value.
  4. Value function: everyone has their own standard of value — define your personal “life value function” and make choices by it.

Key Takeaways

In 2020 I had started shifting from a pure technical executor into a backend developer and architect who carries real decision-making responsibility. Reading this book handed me a rigorous, practical decision-making framework. Its ideas — “user value”, “marginal cost”, “opportunity cost” — apply well beyond product design; they also guide technology choices, career planning, and personal growth. It helped me analyze complex technical and life choices more rationally and deeply, and make decisions that better serve my long-term interests — an essential guide in my shift from “doing the work” to “making the decisions”.