Sponsored
Enjoy fast, free delivery, exclusive deals, and award-winning movies & TV shows.
Buy New
-45% $36.49
FREE delivery Tuesday, April 28
Ships from: Amazon.com
Sold by: Amazon.com
$36.49 with 45 percent savings
List Price: $65.99 Image
FREE delivery Tuesday, April 28
Or Prime members get FREE delivery Tomorrow, April 24. Order within 1 hr 36 mins. Join Prime
In Stock
$$36.49 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$36.49
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Shipper / Seller
Amazon.com
Amazon.com
Shipper / Seller
Amazon.com
Returns
FREE 30-day refund/replacement
FREE 30-day refund/replacement
Quick refund
Usually issued within 24 hours. See exceptions
FREE return
At least one free return option available.
Convenient dropoff
At any of our 50,000 US locations.
See return policy
Gift options
Available at checkout
Available at checkout This item is a gift. Change
At checkout, you can add a custom message, a gift receipt for easy returns and have the item gift-wrapped
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$21.80
Minimal or no signs of wear, writing, or notes. ~ BooksRun: cheaper books, every time! Minimal or no signs of wear, writing, or notes. ~ BooksRun: cheaper books, every time! See less
FREE delivery Thursday, April 30. Details
Or fastest delivery Sunday, April 26. Order within 10 hrs 51 mins. Details
Only 1 left in stock - order soon.
$$36.49 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$36.49
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Ships from and sold by BooksRun.
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

  • Software Engineering at Google: Lessons Learned from Programming Over Time

Follow the author

Get new release updates & improved recommendations
Something went wrong. Please try your request again later.

Software Engineering at Google: Lessons Learned from Programming Over Time 1st Edition

4.6 out of 5 stars (821)

{"desktop_buybox_group_1":[{"displayPrice":"$36.49","priceAmount":36.49,"currencySymbol":"$","integerValue":"36","decimalSeparator":".","fractionalValue":"49","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"mERLKjLYDA7etAnWTSBBMwGizIXTe2fuTcLpx2SZ3ouunkFHurg7%2FGoxyRV%2B%2B1YU%2Bx5XeudaSYaOG3mWMeb6jkofv26FGK0mGXebHc5mOElEbMtnRLNUhzpa47RfHw%2F667V5LDdegvAAilTCDqqkRQ%3D%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$21.80","priceAmount":21.80,"currencySymbol":"$","integerValue":"21","decimalSeparator":".","fractionalValue":"80","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"mERLKjLYDA7etAnWTSBBMwGizIXTe2fuB3ROFqGPAQ0Aat%2FQbArYv4FymGlxqeH2zmsSfuEfrKxZnrRp9dU5fIGlEV%2BE5BkWcd%2FLKO66zYPWpJmsPkPFyoDYlsncoix3MXtUQ10dsOhF%2BgIJHsSfffK2NSZ0EiYjM1k5MC9v%2BnJZ1I3828OVp4WVGdGk7dzh","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

Today, software engineers need to know not only how to program effectively but also how to develop proper engineering practices to make their codebase sustainable and healthy. This book emphasizes this difference between programming and software engineering.

How can software engineers manage a living codebase that evolves and responds to changing requirements and demands over the length of its life? Based on their experience at Google, software engineers Titus Winters and Hyrum Wright, along with technical writer Tom Manshreck, present a candid and insightful look at how some of the worldâ??s leading practitioners construct and maintain software. This book covers Googleâ??s unique engineering culture, processes, and tools and how these aspects contribute to the effectiveness of an engineering organization.

Youâ??ll explore three fundamental principles that software organizations should keep in mind when designing, architecting, writing, and maintaining code:

  • How time affects the sustainability of software and how to make your code resilient over time
  • How scale affects the viability of software practices within an engineering organization
  • What trade-offs a typical engineer needs to make when evaluating design and development decisions

Sponsored

Frequently bought together

This item: Software Engineering at Google: Lessons Learned from Programming Over Time
$36.49
Get it as soon as Tuesday, Apr 28
In Stock
Ships from and sold by Amazon.com.
+
$59.99
Get it as soon as Tuesday, Apr 28
In Stock
Ships from and sold by Amazon.com.
+
$26.39
Get it as soon as Tuesday, Apr 28
In Stock
Ships from and sold by Amazon.com.
Total price: $00
To see our price, add these items to your cart.
Details
Added to Cart
Choose items to buy together.

Customers also bought or read

Loading...

From the brand


From the Publisher

software engineering, google

From the Preface

This book is titled Software Engineering at Google. What precisely do we mean by software engineering? What distinguishes “software engineering” from “programming” or “computer science”? And why would Google have a unique perspective to add to the corpus of previous software engineering literature written over the past 50 years?

The terms “programming” and “software engineering” have been used interchangeably for quite some time in our industry, although each term has a different emphasis and different implications. University students tend to study computer science and get jobs writing code as “programmers.”

“Software engineering,” however, sounds more serious, as if it implies the application of some theoretical knowledge to build something real and precise. Mechanical engineers, civil engineers, aeronautical engineers, and those in other engineering disciplines all practice engineering. They all work in the real world and use the application of their theoretical knowledge to create something real. Software engineers also create “something real,” though it is less tangible than the things other engineers create.

Unlike those more established engineering professions, current software engineering theory or practice is not nearly as rigorous. Aeronautical engineers must follow rigid guidelines and practices, because errors in their calculations can cause real damage; programming, on the whole, has traditionally not followed such rigorous practices. But, as software becomes more integrated into our lives, we must adopt and rely on more rigorous engineering methods. We hope this book helps others see a path toward more reliable software practices.

What This Book Isn’t

This book is not meant to cover software design, a discipline that requires its own book (and for which much content already exists). Although there is some code in this book for illustrative purposes, the principles are language neutral, and there is little actual “programming” advice within these chapters. As a result, this text doesn’t cover many important issues in software development: project management, API design, security hardening, internationalization, user interface frameworks, or other language-specific concerns. Their omission in this book does not imply their lack of importance. Instead, we choose not to cover them here knowing that we could not provide the treatment they deserve. We have tried to make the discussions in this book more about engineering and less about programming.

Editorial Reviews

About the Author

Titus Winters is a Senior Staff Software Engineer at Google, where he has worked since 2010. Today, he is the chair of the global subcommittee for the design of the C++ standard library. At Google, he is the library lead for Google’s C++ codebase: 250 million lines of code that will be edited by 12K distinct engineers in a month. For the last 7 years, Titus and his teams have been organizing, maintaining, and evolving the foundational components of Google’s C++ codebase using modern automation and tooling. Along the way he has started several Google projects that believed to be in the top 10 largest refactorings in human history. As a direct result of helping to build out refactoring tooling and automation, Titus has encountered first-hand a huge swath of the shortcuts that engineers and programmers may take to “just get something working”. That unique scale and perspective has informed all of his thinking on the care and feeding of software systems.

Tom Manshreck is a Staff Technical Writer within Software Engineering at Google since 2005, responsible for developing and maintaining many of Google's core programming guides in infrastructure and language. Since 2011, he has been a member of Google's C++ Library Team, developing Google's C++ documentation set, launching (with Titus Winters) Google's C++ training classes, and documenting Abseil, Google's open source C++ code. Tom holds a BS in Political Science and a BS in History from the Massachusetts Institute of Technology. Before Google, Tom worked as a Managing Editor at Pearson/Prentice Hall and various startups.

Hyrum K. Wright is a Staff Software Engineer at Google, where he has worked since 2012, mainly in the areas of large-scale maintenance of Google's C++ codebase. Hyrum has made more individual edits to Google's codebase than any other engineer in the history of the company. He is a member of the Apache Software and an occasional visiting faculty member at Carnegie Mellon University. Hyrum received a PhD in Software Engineering from the University of Texas at Austin, and also holds an MS from the University of Texas and a BS from Brigham Young University. He is an active speaker at conferences and contributor to the academic literature on software maintenance and evolution.

Product details

  • Publisher ‏ : ‎ O'Reilly Media
  • Publication date ‏ : ‎ April 7, 2020
  • Edition ‏ : ‎ 1st
  • Language ‏ : ‎ English
  • Print length ‏ : ‎ 602 pages
  • ISBN-10 ‏ : ‎ 1492082791
  • ISBN-13 ‏ : ‎ 978-1492082798
  • Item Weight ‏ : ‎ 2.1 pounds
  • Dimensions ‏ : ‎ 7 x 1.25 x 9.25 inches
  • Best Sellers Rank: #46,871 in Books (See Top 100 in Books)
  • Customer Reviews:
    4.6 out of 5 stars (821)

About the author

Follow authors to get new release updates, plus improved recommendations.
Titus Winters
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Discover more of the author’s books, see similar authors, read book recommendations and more.

Sponsored

Customer reviews

4.6 out of 5 stars
821 global ratings
Sponsored

Customers say

Customers find the book insightful and recommend it for software engineers, with one noting that valuable information can be found in the details. Moreover, the writing quality receives positive feedback, with one customer highlighting that each chapter is written by company experts. However, the value for money receives mixed reviews, with several customers finding it not worthwhile.
AI Generated from the text of customer reviews

Select to learn more

23 customers mention content, 19 positive, 4 negative
Customers find the book insightful and recommend it for software engineers, with one customer noting that the good bits are found in the details.
Great book, but it would have been nice to see all the URL references aggregated at the end of each chapter....Read more
great readRead more
...covered in university courses, and the book is recommended reading for any software engineer.Read more
Amazing bookRead more
14 customers mention informative, 13 positive, 1 negative
Customers find the book informative, with one customer noting it covers a lot of fundamentals and provides specific advice, while another mentions it offers a treasure of insights and ideas about software engineering at scale.
Lots of great knowledge that Googlers have been gracious to share.Read more
Contents of the book are thorough and helpful.Read more
...but the good bits are found in the details, and there's a good amount of specific advice and references to tools to go with it....Read more
Very practical, useful guides for software organizations....Read more
5 customers mention writing quality, 5 positive, 0 negative
Customers appreciate the writing quality of the book, with one customer noting that each chapter is written by company experts.
Very well written book. It really covers the tech, human and org aspects around scaling....Read more
...The authors are quite accomplished, making this book appealing to buy at first, but that appeal wore off quickly.Read more
...The writers are deeply knowledgable, passionate about their crafts and offer insight after insight into topics ranging from human psychology to the...Read more
...Each chapter is written by company experts and covers 25 timely topics ranging from code testing to dependency management, from continual...Read more
5 customers mention value for money, 2 positive, 3 negative
Customers have mixed opinions about the book's value for money, with several finding it not worthwhile.
too much meaningless definition, looks very academia but offers little valueRead more
...Worth a buy and feel more prepared and informed then before this purchase! Great book!Read more
...The time I spent reading the book was not worthwhile.Read more
...the four extensive chapters on testing should alone be worth the entry price....Read more
Chesterton's Fence, Beyoncé Rule and 1 billion line Change List - How Google does it at scale
5 out of 5 stars
Chesterton's Fence, Beyoncé Rule and 1 billion line Change List - How Google does it at scale
Google has open sourced "how" they do everything. This book is about “how Google runs code”. Systems engineers should pair this book with “Site Reliability Engineering” (from Google) on “how Google runs infra”. Senior org leaders should minimally read the first part (Culture) pairing with “Work Rules” (Laszlo bock on “how Google leads”). Security Engineers should buy the very recent “Building Secure and Reliable Systems” on “how Google implements defense”. Executives should read “How Google Works” by Eric Schmidt on - “how Google works ”! First, It is admirable how the company wants to spread its hard-earned wisdom. Thank you! Many places do many things exceptionally well - but the earnestness to coach and educate others is an extreme rarity - a version of Survivorship Bias - among the “Big Techs”. Collectively, these five books, “Top N” Google Tech Talks (check YouTube) and - depending on your role - coding best practices (check their site) are collectively a combination of top notch combined technical and business education in itself. Very rarely I give a 5-star rating to a technical book, but SEaG is completely worth the two weeks I immersed myself into learning Culture, Processes and Tools of Google Software Teams. The writers are deeply knowledgable, passionate about their crafts and offer insight after insight into topics ranging from human psychology to the flaws of over-embracing mock testing. Not targeting on algorithm, language, tools or libraries, it focuses on “Software Engineering” as a system, i.e., stuff that is not taught at any school. The book disambiguates “programming” from “engineering”, and walks through the hardest engineering challenge - how to scale. It also offers a treasure of insights and ideas from how Google made a billion lines of code change at one time, or how its automated tests could successfully process 50,000 change requests a day, or how Google Production System is perhaps one of the best machines humans ever engineered. Even if you are working nowhere near Google scale, the book covers a lot of fundamentals, especially on how to sustainably develop software and make objective trade-offs while doing so. I would very highly recommend SEaG to any engineering leader trying to improve her team's game. For developers, the four extensive chapters on testing should alone be worth the entry price. Notes from the "Culture" - first of three - part of the book (most of these should be organization agnostic) - --------------------------------------------------------------------------------------------------------------------------- Software Engineering is “Programming integrated over time”. From a reverse lens, code thus becomes a derivative of Software Engineering. A project is sustainable if for the expected life span of the software, you are capable of reactive to valuable changes for either business or technical reasons. The higher the stakes, the more imperfect the trade-off value metrics. Your job as a leader is to aim for sustainability and managing scaling costs for the org, the product and the development workflow. Hyperbolic Discounting - when we start coding, our implicit life-span assignment to the code is often in hours or days. As the late 90s joke went - WORA - Write Once, Run Away! Hyrum’s Law: With a sufficient number of users of an API, all observable behavior of your system will depend on a random person doing a random thing. Conceptually similar to entropy - your system will inevitably progress to a high degree of disorder, chaos and instability. I.e., all abstractions are leaky. Two spectrums of code - one way is hacky and clever, another is clean and maintainable. The most important decision is to ensure which way the codebase leans. It is programming if ‘clever’ is a complement, and software engineering if ‘clever’ is an accusation! Google's SRE book talks about the complexity of managing one of the most complex machines created by humankind - Google Production system. This book focuses on the organization scale and processes to keep that machine running over time. Scaling an org means sublinear scaling with regard to human interactions. The Beyoncé rule: “If you liked it, you should have put a CI test on it”. i.e., if an untested change caused an incident, it is not the change’s fault. An average Software Engineer produces a constant number of lines of code per unit time. Treat whiteboard markers as precious goods. Well functioning teams use them a lot! 60-70% developers build locally. But Google built its own distributed build system. Ultimately, even the distributed build gets bloated - Jevon’s Paradox -- consumption of a resource increase as a response to greater efficiency in its use. Humans are mostly a collection of intermittent bugs. Nobody likes to be criticized, especially for things that aren’t finished. DevOps in one sentence: Get feedback as early as possible, run tests as early as possible, think about security & production environments as early as possible - also known as “left shifting”. Many eyes make all bugs shallow. Make reviews mandatory. Three Pillars of Social Interaction - Humility, Respect, Trust. Relationships always outlast projects. You have two paths to choose from - one, learn, adapt and use the system; two, fight it steadily, as a small undeclared war, for the whole of your life. Good Postmortem output - Summary, Timeline, Proximate Cause, Impact, Containment (Y/N), Resolved (Y/N) and Lessons Learned. Psychological safety is the biggest thing in leading teams - take risks and learn to fail occasionally. Software engineering is multi person development of multi-version programs, Understand Context before Changing things - Chesterton’s Fence is a good mental model. Google tends toward email-based workflows by default. Being an expert and being kind are not mutually exclusive. No brilliant jerks! Testing on the toilet (tips) and Learning on the Loo (productivity) are single-page newsletters inside toilet stalls. 1-2% of Google engineers are readability (Code Review tool) reviewers. They have demonstrated capability to consistently write clear, idiomatic and maintainable code for a given language. Code is read far more than it is written. Readability (review tool at Google) is high cost - trade-off of increased short-term review latency and upfront costs for long-term payoffs of higher-quality code. Knowledge is the most important, though intangible, capital for software engineering org. At a systemic level, encourage and reward those who take time to teach and broaden their expertise beyond (a) themselves, (b) team, and (c) organizations. On diversity - Bias is the default; Don’t build for everyone. Build with everyone; Don’t assume equity; measure equity throughout your systems. A good reason to become tech lead or manager is to scale yourself. First rule of management? “Above all, resist the urge to manage.” Cure for “management disease” is a liberal application of “servant leadership”, assume you’re the butler. Traditional managers worry about how to get things done, whereas great managers worry about what things get done (and trust their team to figure out how to do it). Being manager - “sometimes you get to be the tooth fairy, other times you have to be the dentist”. Managers, don’t try to be everyone’s friend. Hiring: A hires A, while B hires C players. Engineers develop an excellent sense of skepticism and cynicism but this is often a liability when leading a team. You would do well to be less vocally skeptical while “still letting your team know you’re aware of the intricacies and obstacles involved in your work”. As a leader - Track Happiness - best leaders are amateur psychologists; Let your team know when they’re doing well; It’s easy to say “yes” to something that’s easy to undo; Focus on intrinsic motivation through autonomy, mastery and purpose; Delegation is really difficult to learn as it goes against all our instincts for efficiency and improvement. Three “always” of leadership - Always be Deciding, Always be Leaving, Always be Scaling. “Code Yellow” is Google’s term for “emergency hackathon to fix a critical problem”. Good Management = 95% observation and listening + 5% making critical adjustments in just the right place. To scale, aim to be in “uncomfortably exciting” space. All your means of communication - email, chat, meetings - could be a Denial-of-Service attack against your time and attention. You are the “finally” clause in a long list of code blocks! In pure reactive mode, you spend every moment of your life on urgent things, but almost none of it is important. Mapping a path through the forest is incredibly important but rarely ever urgent. Your brain operates in natural 90-minute cycles. Take breaks! Give yourself permission to take a mental health day. Everyone has a goal to be “data driven”, but we often fall to the trap of “anecdata”. Google uses GSM (Goals/Signals/Metrics) framework to select metrics to measure engineering productivity. QUANTS - 5 components of productivity Quality of code; Attention from engineers; Intellectual Complexity; Tempo (how quickly can engineers accomplish something) and velocity (how fast they can push their release out); Satisfaction Quantitative metrics are useful because they give you power and scale. However, they don’t provide any context or narrative. When quantitative and qualitative metrics disagree, it is because the former do not capture the expected result! Let go of the idea of measuring individuals and embrace measuring the aggregate. Before measuring productivity, ask whether the result is actionable. If not, it is not worth measuring.
Thank you for your feedback
Sorry, there was an error
Sorry we couldn't load the review

Top reviews from the United States

  • Reviewed in the United States on June 3, 2020
    Format: PaperbackVerified Purchase
    Google has open sourced "how" they do everything. This book is about “how Google runs code”. Systems engineers should pair this book with “Site Reliability Engineering” (from Google) on “how Google runs infra”. Senior org leaders should minimally read the first part (Culture) pairing with “Work Rules” (Laszlo bock on “how Google leads”). Security Engineers should buy the very recent “Building Secure and Reliable Systems” on “how Google implements defense”. Executives should read “How Google Works” by Eric Schmidt on - “how Google works ”!

    First, It is admirable how the company wants to spread its hard-earned wisdom. Thank you! Many places do many things exceptionally well - but the earnestness to coach and educate others is an extreme rarity - a version of Survivorship Bias - among the “Big Techs”. Collectively, these five books, “Top N” Google Tech Talks (check YouTube) and - depending on your role - coding best practices (check their site) are collectively a combination of top notch combined technical and business education in itself.

    Very rarely I give a 5-star rating to a technical book, but SEaG is completely worth the two weeks I immersed myself into learning Culture, Processes and Tools of Google Software Teams. The writers are deeply knowledgable, passionate about their crafts and offer insight after insight into topics ranging from human psychology to the flaws of over-embracing mock testing.

    Not targeting on algorithm, language, tools or libraries, it focuses on “Software Engineering” as a system, i.e., stuff that is not taught at any school. The book disambiguates “programming” from “engineering”, and walks through the hardest engineering challenge - how to scale.

    It also offers a treasure of insights and ideas from how Google made a billion lines of code change at one time, or how its automated tests could successfully process 50,000 change requests a day, or how Google Production System is perhaps one of the best machines humans ever engineered. Even if you are working nowhere near Google scale, the book covers a lot of fundamentals, especially on how to sustainably develop software and make objective trade-offs while doing so. I would very highly recommend SEaG to any engineering leader trying to improve her team's game. For developers, the four extensive chapters on testing should alone be worth the entry price.

    Notes from the "Culture" - first of three - part of the book (most of these should be organization agnostic) -
    ---------------------------------------------------------------------------------------------------------------------------

    Software Engineering is “Programming integrated over time”. From a reverse lens, code thus becomes a derivative of Software Engineering.

    A project is sustainable if for the expected life span of the software, you are capable of reactive to valuable changes for either business or technical reasons.

    The higher the stakes, the more imperfect the trade-off value metrics.

    Your job as a leader is to aim for sustainability and managing scaling costs for the org, the product and the development workflow.

    Hyperbolic Discounting - when we start coding, our implicit life-span assignment to the code is often in hours or days. As the late 90s joke went - WORA - Write Once, Run Away!

    Hyrum’s Law: With a sufficient number of users of an API, all observable behavior of your system will depend on a random person doing a random thing. Conceptually similar to entropy - your system will inevitably progress to a high degree of disorder, chaos and instability. I.e., all abstractions are leaky.

    Two spectrums of code - one way is hacky and clever, another is clean and maintainable. The most important decision is to ensure which way the codebase leans. It is programming if ‘clever’ is a complement, and software engineering if ‘clever’ is an accusation!

    Google's SRE book talks about the complexity of managing one of the most complex machines created by humankind - Google Production system. This book focuses on the organization scale and processes to keep that machine running over time.

    Scaling an org means sublinear scaling with regard to human interactions.

    The Beyoncé rule: “If you liked it, you should have put a CI test on it”. i.e., if an untested change caused an incident, it is not the change’s fault.

    An average Software Engineer produces a constant number of lines of code per unit time.

    Treat whiteboard markers as precious goods. Well functioning teams use them a lot!

    60-70% developers build locally. But Google built its own distributed build system. Ultimately, even the distributed build gets bloated - Jevon’s Paradox -- consumption of a resource increase as a response to greater efficiency in its use.

    Humans are mostly a collection of intermittent bugs.
    Nobody likes to be criticized, especially for things that aren’t finished.
    DevOps in one sentence: Get feedback as early as possible, run tests as early as possible, think about security & production environments as early as possible - also known as “left shifting”.

    Many eyes make all bugs shallow. Make reviews mandatory.
    Three Pillars of Social Interaction - Humility, Respect, Trust.
    Relationships always outlast projects.
    You have two paths to choose from - one, learn, adapt and use the system; two, fight it steadily, as a small undeclared war, for the whole of your life.

    Good Postmortem output - Summary, Timeline, Proximate Cause, Impact, Containment (Y/N), Resolved (Y/N) and Lessons Learned.
    Psychological safety is the biggest thing in leading teams - take risks and learn to fail occasionally.

    Software engineering is multi person development of multi-version programs,

    Understand Context before Changing things - Chesterton’s Fence is a good mental model.
    Google tends toward email-based workflows by default.
    Being an expert and being kind are not mutually exclusive. No brilliant jerks!

    Testing on the toilet (tips) and Learning on the Loo (productivity) are single-page newsletters inside toilet stalls.

    1-2% of Google engineers are readability (Code Review tool) reviewers. They have demonstrated capability to consistently write clear, idiomatic and maintainable code for a given language. Code is read far more than it is written. Readability (review tool at Google) is high cost - trade-off of increased short-term review latency and upfront costs for long-term payoffs of higher-quality code.

    Knowledge is the most important, though intangible, capital for software engineering org.

    At a systemic level, encourage and reward those who take time to teach and broaden their expertise beyond (a) themselves, (b) team, and (c) organizations.

    On diversity - Bias is the default; Don’t build for everyone. Build with everyone; Don’t assume equity; measure equity throughout your systems.

    A good reason to become tech lead or manager is to scale yourself.
    First rule of management? “Above all, resist the urge to manage.” Cure for “management disease” is a liberal application of “servant leadership”, assume you’re the butler.
    Traditional managers worry about how to get things done, whereas great managers worry about what things get done (and trust their team to figure out how to do it).

    Being manager - “sometimes you get to be the tooth fairy, other times you have to be the dentist”.

    Managers, don’t try to be everyone’s friend.
    Hiring: A hires A, while B hires C players.

    Engineers develop an excellent sense of skepticism and cynicism but this is often a liability when leading a team. You would do well to be less vocally skeptical while “still letting your team know you’re aware of the intricacies and obstacles involved in your work”.

    As a leader - Track Happiness - best leaders are amateur psychologists; Let your team know when they’re doing well; It’s easy to say “yes” to something that’s easy to undo; Focus on intrinsic motivation through autonomy, mastery and purpose; Delegation is really difficult to learn as it goes against all our instincts for efficiency and improvement.

    Three “always” of leadership - Always be Deciding, Always be Leaving, Always be Scaling.

    “Code Yellow” is Google’s term for “emergency hackathon to fix a critical problem”.

    Good Management = 95% observation and listening + 5% making critical adjustments in just the right place.

    To scale, aim to be in “uncomfortably exciting” space.

    All your means of communication - email, chat, meetings - could be a Denial-of-Service attack against your time and attention. You are the “finally” clause in a long list of code blocks!

    In pure reactive mode, you spend every moment of your life on urgent things, but almost none of it is important. Mapping a path through the forest is incredibly important but rarely ever urgent.

    Your brain operates in natural 90-minute cycles. Take breaks!

    Give yourself permission to take a mental health day.

    Everyone has a goal to be “data driven”, but we often fall to the trap of “anecdata”.

    Google uses GSM (Goals/Signals/Metrics) framework to select metrics to measure engineering productivity.

    QUANTS - 5 components of productivity
    Quality of code; Attention from engineers; Intellectual Complexity; Tempo (how quickly can engineers accomplish something) and velocity (how fast they can push their release out); Satisfaction

    Quantitative metrics are useful because they give you power and scale. However, they don’t provide any context or narrative. When quantitative and qualitative metrics disagree, it is because the former do not capture the expected result!
    Let go of the idea of measuring individuals and embrace measuring the aggregate. Before measuring productivity, ask whether the result is actionable. If not, it is not worth measuring.
    Customer image
    5.0 out of 5 stars
    Chesterton's Fence, Beyoncé Rule and 1 billion line Change List - How Google does it at scale

    Reviewed in the United States on June 3, 2020
    Google has open sourced "how" they do everything. This book is about “how Google runs code”. Systems engineers should pair this book with “Site Reliability Engineering” (from Google) on “how Google runs infra”. Senior org leaders should minimally read the first part (Culture) pairing with “Work Rules” (Laszlo bock on “how Google leads”). Security Engineers should buy the very recent “Building Secure and Reliable Systems” on “how Google implements defense”. Executives should read “How Google Works” by Eric Schmidt on - “how Google works ”!

    First, It is admirable how the company wants to spread its hard-earned wisdom. Thank you! Many places do many things exceptionally well - but the earnestness to coach and educate others is an extreme rarity - a version of Survivorship Bias - among the “Big Techs”. Collectively, these five books, “Top N” Google Tech Talks (check YouTube) and - depending on your role - coding best practices (check their site) are collectively a combination of top notch combined technical and business education in itself.

    Very rarely I give a 5-star rating to a technical book, but SEaG is completely worth the two weeks I immersed myself into learning Culture, Processes and Tools of Google Software Teams. The writers are deeply knowledgable, passionate about their crafts and offer insight after insight into topics ranging from human psychology to the flaws of over-embracing mock testing.

    Not targeting on algorithm, language, tools or libraries, it focuses on “Software Engineering” as a system, i.e., stuff that is not taught at any school. The book disambiguates “programming” from “engineering”, and walks through the hardest engineering challenge - how to scale.

    It also offers a treasure of insights and ideas from how Google made a billion lines of code change at one time, or how its automated tests could successfully process 50,000 change requests a day, or how Google Production System is perhaps one of the best machines humans ever engineered. Even if you are working nowhere near Google scale, the book covers a lot of fundamentals, especially on how to sustainably develop software and make objective trade-offs while doing so. I would very highly recommend SEaG to any engineering leader trying to improve her team's game. For developers, the four extensive chapters on testing should alone be worth the entry price.

    Notes from the "Culture" - first of three - part of the book (most of these should be organization agnostic) -
    ---------------------------------------------------------------------------------------------------------------------------

    Software Engineering is “Programming integrated over time”. From a reverse lens, code thus becomes a derivative of Software Engineering.

    A project is sustainable if for the expected life span of the software, you are capable of reactive to valuable changes for either business or technical reasons.

    The higher the stakes, the more imperfect the trade-off value metrics.

    Your job as a leader is to aim for sustainability and managing scaling costs for the org, the product and the development workflow.

    Hyperbolic Discounting - when we start coding, our implicit life-span assignment to the code is often in hours or days. As the late 90s joke went - WORA - Write Once, Run Away!

    Hyrum’s Law: With a sufficient number of users of an API, all observable behavior of your system will depend on a random person doing a random thing. Conceptually similar to entropy - your system will inevitably progress to a high degree of disorder, chaos and instability. I.e., all abstractions are leaky.

    Two spectrums of code - one way is hacky and clever, another is clean and maintainable. The most important decision is to ensure which way the codebase leans. It is programming if ‘clever’ is a complement, and software engineering if ‘clever’ is an accusation!

    Google's SRE book talks about the complexity of managing one of the most complex machines created by humankind - Google Production system. This book focuses on the organization scale and processes to keep that machine running over time.

    Scaling an org means sublinear scaling with regard to human interactions.

    The Beyoncé rule: “If you liked it, you should have put a CI test on it”. i.e., if an untested change caused an incident, it is not the change’s fault.

    An average Software Engineer produces a constant number of lines of code per unit time.

    Treat whiteboard markers as precious goods. Well functioning teams use them a lot!

    60-70% developers build locally. But Google built its own distributed build system. Ultimately, even the distributed build gets bloated - Jevon’s Paradox -- consumption of a resource increase as a response to greater efficiency in its use.

    Humans are mostly a collection of intermittent bugs.
    Nobody likes to be criticized, especially for things that aren’t finished.
    DevOps in one sentence: Get feedback as early as possible, run tests as early as possible, think about security & production environments as early as possible - also known as “left shifting”.

    Many eyes make all bugs shallow. Make reviews mandatory.
    Three Pillars of Social Interaction - Humility, Respect, Trust.
    Relationships always outlast projects.
    You have two paths to choose from - one, learn, adapt and use the system; two, fight it steadily, as a small undeclared war, for the whole of your life.

    Good Postmortem output - Summary, Timeline, Proximate Cause, Impact, Containment (Y/N), Resolved (Y/N) and Lessons Learned.
    Psychological safety is the biggest thing in leading teams - take risks and learn to fail occasionally.

    Software engineering is multi person development of multi-version programs,

    Understand Context before Changing things - Chesterton’s Fence is a good mental model.
    Google tends toward email-based workflows by default.
    Being an expert and being kind are not mutually exclusive. No brilliant jerks!

    Testing on the toilet (tips) and Learning on the Loo (productivity) are single-page newsletters inside toilet stalls.

    1-2% of Google engineers are readability (Code Review tool) reviewers. They have demonstrated capability to consistently write clear, idiomatic and maintainable code for a given language. Code is read far more than it is written. Readability (review tool at Google) is high cost - trade-off of increased short-term review latency and upfront costs for long-term payoffs of higher-quality code.

    Knowledge is the most important, though intangible, capital for software engineering org.

    At a systemic level, encourage and reward those who take time to teach and broaden their expertise beyond (a) themselves, (b) team, and (c) organizations.

    On diversity - Bias is the default; Don’t build for everyone. Build with everyone; Don’t assume equity; measure equity throughout your systems.

    A good reason to become tech lead or manager is to scale yourself.
    First rule of management? “Above all, resist the urge to manage.” Cure for “management disease” is a liberal application of “servant leadership”, assume you’re the butler.
    Traditional managers worry about how to get things done, whereas great managers worry about what things get done (and trust their team to figure out how to do it).

    Being manager - “sometimes you get to be the tooth fairy, other times you have to be the dentist”.

    Managers, don’t try to be everyone’s friend.
    Hiring: A hires A, while B hires C players.

    Engineers develop an excellent sense of skepticism and cynicism but this is often a liability when leading a team. You would do well to be less vocally skeptical while “still letting your team know you’re aware of the intricacies and obstacles involved in your work”.

    As a leader - Track Happiness - best leaders are amateur psychologists; Let your team know when they’re doing well; It’s easy to say “yes” to something that’s easy to undo; Focus on intrinsic motivation through autonomy, mastery and purpose; Delegation is really difficult to learn as it goes against all our instincts for efficiency and improvement.

    Three “always” of leadership - Always be Deciding, Always be Leaving, Always be Scaling.

    “Code Yellow” is Google’s term for “emergency hackathon to fix a critical problem”.

    Good Management = 95% observation and listening + 5% making critical adjustments in just the right place.

    To scale, aim to be in “uncomfortably exciting” space.

    All your means of communication - email, chat, meetings - could be a Denial-of-Service attack against your time and attention. You are the “finally” clause in a long list of code blocks!

    In pure reactive mode, you spend every moment of your life on urgent things, but almost none of it is important. Mapping a path through the forest is incredibly important but rarely ever urgent.

    Your brain operates in natural 90-minute cycles. Take breaks!

    Give yourself permission to take a mental health day.

    Everyone has a goal to be “data driven”, but we often fall to the trap of “anecdata”.

    Google uses GSM (Goals/Signals/Metrics) framework to select metrics to measure engineering productivity.

    QUANTS - 5 components of productivity
    Quality of code; Attention from engineers; Intellectual Complexity; Tempo (how quickly can engineers accomplish something) and velocity (how fast they can push their release out); Satisfaction

    Quantitative metrics are useful because they give you power and scale. However, they don’t provide any context or narrative. When quantitative and qualitative metrics disagree, it is because the former do not capture the expected result!
    Let go of the idea of measuring individuals and embrace measuring the aggregate. Before measuring productivity, ask whether the result is actionable. If not, it is not worth measuring.
    Images in this review
    Customer image Customer image Customer image
    98 people found this helpful
    Report
  • Reviewed in the United States on June 21, 2020
    Format: PaperbackVerified Purchase
    Software Engineering at Google starts with the premise that "software engineering is programming integrated over time," but it is not a programming book. It leaves the syntax and semantics of programming to other books and focuses on the culture, process, and tools that Google uses to support its software engineering activities.

    Despite being written by over a dozen different contributors, who work at Google, the book itself is carefully edited to share a consistent message. Perhaps this is a reflection of the software engineering processes used at Google to enforce consistency within Google's codebase.

    The first section on culture covers topics ranging from how to work on teams, share information, lead teams, and measure productivity. It provides a useful perspective on how Google's culture has adapted over the past two decades as the company grew from being a startup with a handful of people to having over a hundred thousand employees. These topics don't typically show up in a software engineering curriculum, but they are very valuable to understand, particularly for engineers and managers at large companies.

    The second section covers processes that Google has developed over time to improve productivity of a large number of people working together on a large and long-lived codebase. The topics include style guides, code review, documentation, testing, and deprecation. Two of the main lessons are the value that Google gets from consistency in its code (recognizing that code is typically read more than times than it is written), and the importance of effective automated testing that allows engineers to modify code that they did not write while remaining confident that the code still works correctly. Google has been at the forefront of promoting developer written tests (rather than relying on separate QA or validation teams), and many of the tips and techniques described for writing and maintaining effective tests are quite insightful.

    The final section describes the tools that Google uses to support its software engineering activities. The categories of tools are ones that are useful for any software engineering organization, but the specific details in this chapter are harder to generalize than other topics in the book. Google maintains a single source repository (the monorepo) where all its code is stored and it has built custom tools for version control, code search, build processes, code review, static analysis, dependency management, continuous integration, and compute as a service. Reading the specific details of how and why Google developed these tools is insightful, but many of the tools are tightly integrated in Google's environment and the techniques described in the chapter may not be generally applicable to other organizations.

    One thing I felt was missing from the book was a discussion of how Google manages its processes to work with open sources projects and share code with people outside of Google. The book focused on code that is developed internally at Google rather than projects that are developed in collaboration with an open source community (i.e Linux, LLVM). But open source is becoming an increasingly important part of software engineering and Google engineers use and contribute to many open source projects. It would be interesting to know how they collaborate with outsiders who lack access to Google's monorepo and associated development tools.

    Despite being over 500 pages long, Software Engineering at Google is relatively quick reading and most of the chapters are self-contained and could be read in any order. The authors presented information about software engineering that is not typically covered in university courses, and the book is recommended reading for any software engineer.
    25 people found this helpful
    Report
  • Reviewed in the United States on December 19, 2020
    Format: PaperbackVerified Purchase
    If you already are an experienced Software Engineer, then you probably have a pretty good notion of what you'll find in this book from the cover.

    Many of the topics are off the beaten path but the good bits are found in the details, and there's a good amount of specific advice and references to tools to go with it.

    Throughout the book the authors emphasize the benefits of having a long-term perspective when writing code, documentation and processes. That, I think, applies to many organizations regardless of size.

    Many developers nowadays have access to may tools that were largely inaccessible outside of large organizations a decade and a half ago like GitHub (which provides a PR interface for example, as opposed to just being a bare-bones, pure-Git remote repo) and CI.

    This book covers other practices that I think are maturing and should become more widely accessible in the coming years.

    The only criticism I have is that I believe the book could have been a bit shorter had the editors elaborated less on some parts that read like boilerplate.
    Customer image
    4.0 out of 5 stars
    General good notions with emphasis on durability and some actionable advice

    Reviewed in the United States on December 19, 2020
    If you already are an experienced Software Engineer, then you probably have a pretty good notion of what you'll find in this book from the cover.

    Many of the topics are off the beaten path but the good bits are found in the details, and there's a good amount of specific advice and references to tools to go with it.

    Throughout the book the authors emphasize the benefits of having a long-term perspective when writing code, documentation and processes. That, I think, applies to many organizations regardless of size.

    Many developers nowadays have access to may tools that were largely inaccessible outside of large organizations a decade and a half ago like GitHub (which provides a PR interface for example, as opposed to just being a bare-bones, pure-Git remote repo) and CI.

    This book covers other practices that I think are maturing and should become more widely accessible in the coming years.

    The only criticism I have is that I believe the book could have been a bit shorter had the editors elaborated less on some parts that read like boilerplate.
    Images in this review
    Customer image
    3 people found this helpful
    Report

Top reviews from other countries

  • P.M.
    5.0 out of 5 stars Impressive
    Reviewed in Germany on April 1, 2024
    Format: PaperbackVerified Purchase
    This is a really good book with many impressive details on how to work in large teams and large codebases. Good read for every kind of programmer: SW, Engineer, Architect, Analyst, Data Scientist, ...
  • J James
    5.0 out of 5 stars Fascinating read
    Reviewed in the United Kingdom on February 16, 2022
    Format: PaperbackVerified Purchase
    Excellent overview of the very many facets of Google's approach to software engineering at scale and over time. Not a programming / coding book at all (although there are small code examples throughout), instead it covers approaches to such areas as testing, working in and leading teams, build processes and - most interesting of all in my opinion - the metrics used to constantly improve the process.
  • RowanG
    3.0 out of 5 stars Long-winded, quite repetitive, some helpful nuggets
    Reviewed in Australia on January 17, 2024
    Format: KindleVerified Purchase
    The sections on leadership and culture are quite good. One surprising thing is how rigid google is about some aspects like code style, reviews, and build systems. They take the mantra "creativity loves constraints" quite seriously. I doubt many people can slog through the whole book, but if you've run out of coding books, this software engineering angle could offer a new flavour.
  • Adev
    5.0 out of 5 stars instructive, applied, complete.
    Reviewed in France on April 14, 2020
    Format: KindleVerified Purchase
    Detailed and very instructive. Very constructive and applied feedback on software engineering in large scale environment. Applied to Google but can be transposed to many other environments. Concentrate on many aspect of software engineering including life cycle, tooling, human aspect.

    Strongly recommend as an overview of software engineering based on concrete experiences more than theorical concepts.

    Should be a must read for many executive doing software project management.
  • Will
    5.0 out of 5 stars Very good book
    Reviewed in Canada on December 21, 2023
    Format: PaperbackVerified Purchase
    Must read if you want to work at Google