The previous chapter provided an introduction to what makes a software engineering team effective and how to build those characteristics into your team. By now, you must have an idea of what it means to be effective. Effectiveness is an indicator of individual or team performance. You may have also encountered the terms efficiency and productivity in relation to employee or team performance, but what do those terms actually mean? While these concepts are interconnected, they hold distinct meanings. Understanding these differences is crucial for accurately assessing and guiding your team.

A software engineering team that is churning out code is efficient if it’s following processes, writing clean code, fixing issues, and meeting deadlines. It’s also productive if it’s quick in completing its tasks of coding, testing, fixing, and releasing the code. However, to be effective, the code released should address user problems and make a positive impact on the business. Simply put:

  • Efficiency is about doing things right.

  • Effectiveness is about doing the right thing.

  • Productivity is a measure of output over input.

While you can use any of these concepts to measure a team’s performance, it’s essential to understand the implications of each. This chapter will dive into the differences between efficiency, effectiveness, and productivity for software engineering teams. You will explore the factors influencing each of these and methods to measure the impact of knowledge work. Finally, I will discuss the importance of focusing on outcomes rather than outputs and how you can shift your team culture to strike the right balance between effectiveness and efficiency.

The Differences Between Efficiency, Effectiveness, and Productivity

To better understand the differences between efficiency, effectiveness, and productivity, let’s compare their purposes, how to measure them, and the factors that influence them.

Goals

Let’s start with detailed definitions of efficiency, effectiveness, and productivity that focus on what each term implies and how they differ in terms of goals:

Efficiency

Efficiency implies doing things right to minimize waste and maximize output. Software engineering teams improve efficiency by adopting iterative methodologies, implementing continuous integration and delivery pipelines, and using tools such as code editors, debuggers, and performance profilers. Thus, to become efficient, a software engineering team could maximize the number of features it fully develops with the given resources. A good measure of a team’s efficiency is the number of features it fully develops and tests per unit of time. For example, “We released three features this week; each one took us three days.”

Effectiveness

Effectiveness implies doing the right thing and delivering the right outcome. The right outcome provides value to the organization and its customers and is focused on their needs. Teams can achieve this by aligning their goals with the organization’s objectives, defining a clear strategy, and focusing on outcomes. Software engineering teams can improve effectiveness by prioritizing features and initiatives that align with the organization’s vision, using metrics to measure the impact of those features, and seeking feedback from customers and stakeholders. You can measure the effectiveness of software by tracking key metrics like user adoption rate and customer satisfaction scores, among others.

Productivity

Productivity is a subset of efficiency and measures output over input . It is about executing at a pace that enables teams to achieve their goals quickly. Software engineering teams can improve their productivity by increasing their throughput, velocity, and code output. However, it is essential to note that traditional definitions of productivity do not often consider the quality and impact of output. Productivity is often used to measure the efficiency of machines and capital. However, it cannot accurately estimate human knowledge work.

Table 2-1 gives a summary of how efficiency, effectiveness, and productivity differ from each other.

Table 2-1. Efficiency, effectiveness, and productivity goals | | Efficiency | Effectiveness | Productivity | | --- | --- | --- | --- | | Goals | Doing things right | Doing the right thing | Output over input | | Measurement | Time
Resource utilization
Quality | Customer satisfaction
Business value
User adoption rate | Lines of code
Delivery of function points
Delivery of story points |

To achieve efficiency, effectiveness, or productivity, an engineering team may need to target a different set of goals overall. They may mean different things, but it is important to note that these concepts are not mutually exclusive. To understand this better, let’s consider this fictional story of the “Cloudoids,” an engineering team that had recently been tasked with the migration of their company’s flagship software to microservices and Kubernetes. The team had buzzed with excitement about this opportunity to learn a new technology while working on something that was important to the business.

The product manager published a backlog of features that were to be migrated, and the team attacked it with fervor. Led by Maia, who had a penchant for pushing boundaries, the team hit the ground running. Team members were enthusiastic about developing features, committing code, fixing issues, and deploying builds to the new architecture sprint after sprint. Each milestone was met with a flurry of high fives and pizza to celebrate the fact that they were meeting their deadlines while delivering bug-free code.

But amid the celebrations, user feedback started whispering doubts. No performance improvements, no usability leaps. Maia, a data-driven leader, unearthed the truth: metrics revealed they’d built a tech wonderland devoid of impact. While they had improved scalability and could release builds faster, they had not leveraged the technology for users’ benefit. To the users, the product has remained more or less the same. The team had focused on “how” while neglecting the “why.”

This triggered a shift to focus on the right outcomes. Team members retraced their steps to find how users could benefit from the change in architecture. Gradually, they improved their design to support efficient and intuitive use. Metrics proved that they were finally using the technology the right way to achieve the correct outcomes. The Cloudoids had learned: effectiveness wasn’t just about speed or shiny tech. It was about weaving efficient technology with purpose.

The story teaches us that, by focusing on the development of the right definitions and metrics for efficiency and productivity in their specific context, teams can concurrently fuel their overall effectiveness.

Measurement

Although efficiency, effectiveness, and productivity all reflect performance, you must consider different things when measuring them. Both productivity and efficiency depend on the output of a specific activity. However, productivity is a raw measure, while efficiency is a refined measure that depends on the outcome. Effectiveness also depends on the outcome. I’ll talk about the difference between output and outcome in a later section, but for now, let’s focus on the traditional measures of efficiency, effectiveness, and productivity.

Productivity measures output over input. Traditional measures of team productivity in software engineering include the following:

Lines of code

This involves counting the number of lines of code a developer writes, presuming that the more you write, the more you accomplish.

Function points

This is based on the functionalities provided by the software. It considers the complexity and number of features the software offers.

Story points

This measures the complexity of user stories in Agile software development. Story points are assigned to each user story based on its complexity and required effort.

DevOps metrics

DevOps metrics such as lead time, deployment frequency, mean time to recovery, and change fail rate focus on the speed of the software development process.

Productive software engineering practices will result in more output in terms of the amount of code delivered by the team. Depending on the metric used, it can mean the volume of lines of code or function points delivered is more. Focusing on productivity alone can be problematic, as we will discuss later in the chapter.

Efficiency enhances the productivity measurement by including other contributing factors such as the following:

Time

A process is more efficient if tasks are completed faster.

Resource utilization

An efficient team better utilizes resources such as time, money, and personnel .

Bug fix rate

Faster detection and fixing of bugs indicates an efficient team.

Defect density

Defect density is the number of defects in the code per line of code. A lower defect density indicates higher efficiency.

Quality

Efficient teams produce high-quality products.

Efficient software engineering practices will result in less wastage of resources such as time and money. Efficient teams are productive and generate the desired output by optimizing their resource usage.

Effectiveness measures the ultimate outcome of the development activity. Some standard measures of team effectiveness in software engineering are as follows:

Customer satisfaction

This is the degree to which the software product/service built by the team meets the needs and expectations of its users.

Business value

This is the contribution of the software to the overall goals and objectives of the organization.

User adoption rate

This is the extent to which the software is used by its intended users.

ROI (return on investment)

This is based on the net profit earned versus the total cost of developing the software.

Time to market

This measures the efficacy of the software development and release process .

Effective software engineering practices will result in higher customer satisfaction, business value , user adoption rate, and ROI. Similarly, a shorter time to market will also add to the product’s value, making it more effective.

To understand this better, consider the following scenarios where two teams, A and B, are developing an MVP (minimum viable product) for a food delivery app:

Team A has 10 engineers who delivered the initial MVP for a new app in 30 days. Team B has 8 engineers who delivered similar functionality in 40 days. Which team was more productive?

Team A is more productive because it generates more output over the given time.

(Assuming an 8-hour workday, Team A worked 2,400 hours and Team B worked 2,560 hours. Since the delivered functionality is similar, Team A is more productive.)

Team A’s MVP had five major usability issues, which took an additional five days of work. Team B’s MVP had three major usability issues, which took an additional two days of work. Which team was more efficient?

Team B was more efficient because it generated better-quality output and used fewer resources (time and people), resulting in lower costs.

(Assuming all engineers were involved in fixing issues, Team A worked an additional 400 hours while Team B worked an additional 128 hours to fix issues. Thus, Team A worked for a total of 2,800 hours and Team B worked for a total 2,688 hours.)

In the first month after its release, Team A’s app was downloaded 10,000 times with 6,000 repeat orders from the same customers. Team B’s app was also downloaded 10,000 times but with 2,000 repeat orders. (Let’s assume that while most features were similar, Team A’s product manager had asked the engineers to include a special filter for vegan options in its MVP.) Which team was more effective?

Team A is more effective because its users return to it more often because it has desirable filtering options. Thus, it is more likely to meet the business goals.

Note how some of these metrics are subtly tied to each other. For example, efficiently generating output inherently means you have to be productive and generate output. Similarly, efficient use of time and lower defect density can also lead to a shorter time to market and higher customer satisfaction. Thus, it is possible to optimize efficiency metrics for effectiveness.

Influencing Factors

In Chapter 1 , we discussed how you can build an effective team comprising the right number of engineers from diverse backgrounds and foster a work environment that’s conducive to collaboration, innovation, and success. Team size, diversity, and various other factors can also influence the efficiency, effectiveness, and productivity measurements of software engineering teams:

Team size

The size of a software engineering team can affect its capacity to work. Large teams can complete tasks more quickly but may need additional efforts to manage communication, coordination, and decision making. Smaller teams may be slower, but they can often work more collaboratively and efficiently. Agile methodologies, like Scrum, help teams manage their workload optimally while also addressing communication bottlenecks.

Diversity

Having diverse skills on a software engineering team can improve its effectiveness and productivity. Team members with different backgrounds and expertise can approach problems from multiple angles and develop more creative solutions. However, too much diversity can also lead to communication difficulties and misunderstandings, especially when team members bring different values rather than different ideas to a discussion. It’s necessary to create a strong sense of team and organizational inclusion to obtain the full benefit of a diverse workforce.

Role clarity

Every team member should clearly understand their role and responsibilities within the team. When everyone knows what they need to do and how they fit into the bigger picture, it can improve efficiency and productivity by reducing confusion and duplication of effort. Ambiguity about the ownership of tasks can lead to friction between team members, resulting in wasted time and effort, while clarity can lead to improved focus among team members.

Communication

Good communication implies people ask more questions and discuss more, which can improve efficiency by reducing errors and misunderstandings, and it can also enhance effectiveness by fostering collaboration and the sharing of ideas.

Work environment

The work environment can significantly impact team efficiency, effectiveness, and productivity. A comfortable, well-equipped workspace can promote focus and creativity, while a noisy, cluttered environment can be distracting and stressful. Many software companies have switched to an open office environment to promote collaboration between engineers. But the constant noise from phone calls, impromptu meetings, and general office chatter may not always result in productive collaboration. Therefore, it is also important to create designated quiet zones where engineers can focus in isolation for some time without any distractions.

Tools and technology

The tools and technology used by a software engineering team can affect its efficiency and productivity. Modern, reliable tools and technology can streamline workflows and automate tedious tasks, freeing team members to focus on more important work. In contrast, buggy and unreliable tools cause constant frustration, eating away at valuable time and hindering momentum. For example, imagine scrambling to meet a deadline while your testing framework throws false positive errors, requiring time-consuming manual validation.

Code health

Code health measures the quality of code in terms of maintainability, readability, stability, and simplicity and contributes to the effectiveness and efficiency of software engineering teams. Technical debt , or the accumulation of code problems over time, can slow development and lead to bugs and other issues requiring additional time and effort to fix. To improve code health, teams must ensure that they use clean code practices and conduct regular code reviews to identify potential issues before they become problems.

These factors can steer the software development process in different directions. Maintaining the right balance is imperative for achieving higher efficiency and effectiveness in software engineering .

Output Versus Outcome

As discussed in the “Measurement” section, efficiency and productivity measure outputs while effectiveness focuses on outcomes. It’s important to note that positive outputs need not lead to positive outcomes—a highly productive or efficient team may only sometimes be effective. Understanding the difference between output and outcome will help you and your teams become more efficient, effective, and productive.

First, consider their definitions:

An output is a deliverable resulting from engineering tasks. An output proves that some action was taken or the team did some work.

An outcome , on the other hand, is the actual result of the work done. An outcome proves the team effort brought about a positive and valuable change.

To give you a better understanding of the differences between output and outcome, see Table 2-2 for some examples of outputs and their outcomes. Table 2-3 compares the impacts of outputs and outcomes.

Table 2-2. Examples of outputs and their outcomes | Outputs | Outcomes | | --- | --- | | New app released | Helped to reach more users | | Code refactored | Improved code performance | | A new feature added | Enhanced the user experience | | Design document published | Simplified the development process | | New API released | Allowed for interactions with other businesses |

Table 2-3. Impacts of outputs versus outcomes | Outputs | Outcomes | | --- | --- | | Throughput
Velocity
Quality
Capacity
Code health | Business value
Investment
User adoption |

Outputs are tangible products or services that result from a given activity or project. While necessary, they do not always reflect the ultimate goal or purpose of the project. Outcomes, on the other hand, are the changes or benefits that result from the project. These are the ultimate goals that the activity was designed to achieve.

Measuring Outputs and Outcomes

Next, let’s look at how outputs and outcomes are measured. If you think the metrics for output and outcome look similar to those used for measuring efficiency, effectiveness, and productivity, you would not be wrong. The metrics used for output and outcome form the core of how efficiency, effectiveness, and productivity are measured.

Output depends on activities carried out. Outputs are nearly always quantitative, with data available to show whether these have been delivered. Outputs are easy to report on and to validate. The following metrics can be used to measure outputs:

Throughput

This is the number of items you ship to production.

Velocity

This is the speed at which items go through the pipeline.

Quality

This is the number of defects identified with reference to customer expectations .

Capacity

This is the number of engineers available to work on the project.

Code health

This is the reduction in technical debt as measured by code reviews.

Outcomes depend on the impact of activities carried out. Outcomes are more challenging to verify because they are both qualitative and quantitative. The measurement of outcomes will depend, to a great extent, on the perception of the people who receive the service. Perceptions take work to measure or report on as they are subjective and may vary from user to user based on their specific needs and expectations. The following are some of the metrics that help to measure outcomes; you will notice that they are very similar to the metrics used to measure effectiveness:

Business value

The outcome of engineering a software product could be added revenue or cost savings for the business. Thus, this could be translated as the business value provided by the product or the value-add to the overall goals and objectives of the business that the product creates (e.g., the revenue generated by a new feature or the cost savings from a process improvement).

Investment

This is the money that was put in to achieve the targeted outcome; for example, the budget allocated for a new product launch. A high initial monetary investment to develop a product could reduce the value of the achieved outcome.

User adoption rate

This is the percentage of new users to all users after the activity was carried out. A high user adoption rate is a better outcome than a low adoption and contributes to the business value of the product.

Your desired outcomes will determine the outputs that are important to you. By knowing your target outputs, you can take action to meet those goals and thus your desired outcome. Take the case study of Siemens Health Services (SHS) , for example.

SHS recognized that while it had initially embraced agile practices to improve performance, the output metrics it relied on were falling short in giving it an accurate picture of the project. It was not able to complete the planned user stories effectively by the estimated completion date. This was despite the fact that its measured velocities were reasonable.

SHS was tracking metrics that proved insufficient when trying to gauge completion dates. For example, many user stories were blocked or incomplete even when velocity rates at sprint reviews looked good. Many of the features planned for a sprint would stay “in progress” at the end of that sprint.

In response, SHS decided to shift its approach. SHS teams began by identifying their desired outcomes, or the ultimate goals they aimed to achieve. This shift in perspective led them to understand that the key to progress lay in pinpointing the outputs that truly mattered to them. They decided to focus on actionable flow metrics, such as work in progress, cycle time, and throughput.

By making this pivot toward outcome-driven metrics, SHS experienced a transformation. Its teams’ efforts resulted in a remarkable 42% reduction in cycle time, signaling significant improvements in operational efficiency, quality, and collaboration. Thus, focusing on the outcomes helped SHS teams identify and measure the right outputs.

Focusing on Outcomes over Outputs

By focusing on achieving your desired outcomes, you can guide your project toward long-term success. Focusing on outcomes over outputs helps organizations and individuals to measure their success based on the results they achieve rather than simply the amount of work they put in. Positive results are essential for the long-term success of a project.

You can measure productivity, efficiency, and output with a variety of tools that can be integrated into your software development lifecycle. Commonly used development tools like GitHub, Jira, Trello, and Azure DevOps have built-in features that also help track and report code volume, time, progress, and defect count.

Take care not to get sucked into a productivity-measuring trap, though, where you only measure output because measuring outputs is straightforward. This approach is flawed for several reasons:

Accurate measurement is difficult

Measuring what you’ve produced as a team is often impossible because many people work on different tasks at different times. For example, one person might be refactoring some old code. At the same time, others work on implementing new features or fixing bugs in existing features. In this case, it’s hard to know if any task was more important than another because they were all essential to building something bigger than themselves—the software product!

Excess production without value

Focusing too much on outputs can lead teams down a dangerous path where they feel obligated or pressured to produce as much as possible regardless of whether those outputs are helpful or valuable (i.e., whether they have good outcomes). Windows Vista is a classic example where the focus on implementing new features resulted in software bloat and incompatibility issues with existing hardware.

Unreasonable deadlines

Setting reasonable deadlines is crucial in software projects, as unrealistic deadlines can lead to rushed and incomplete work, increased risk of errors and bugs, and low-quality results. The project team is best positioned to evaluate the requirements and should be involved in software estimation to ensure that deadlines are achievable.

One of the reasons cited for the failed launch of HealthCare.gov in the US in 2013 was pressure to meet the planned schedule. Since the launch date was mandated in the Affordable Care Act, Department of Health and Human Services (HHS) employees were pressured to launch on time regardless of completion or the amount (and results) of testing and troubleshooting performed.

Burnout

The race to be more productive or efficient can lead to burnout from exhaustion. If you constantly compete with yourself or others to deliver more daily, you might overlook situations where the output is not bringing you any closer to the desired goals and outcomes. This might result in mental or physical exhaustion and even boredom with a mundane long-running project.

Focusing only on outputs can also lead to the watermelon effect. This term describes a situation where your outputs meet the defined targets and your metrics are “green” on the surface, but underneath, it’s “red” because the outcomes or desired results have not been achieved.

Watermelon metrics are problematic because they give a false impression of progress or success, leading to a lack of action to improve the underlying problems. A few examples of such issues with such metrics are as follows:

  • The number of lines of code written may be high, but this could also indicate inefficient coding practices that can lead to bugs, technical debt, and performance issues.

  • Measuring the number of bugs fixed without considering their severity or frequency of recurrence may not provide an accurate indication of the quality of the software.

  • The number of features delivered may appear positive on paper, but if they are low-value features that do not meet the customer’s needs, then it’s a false positive.

Measuring outcomes is more complex than measuring outputs. Business insights and user research data are needed to calculate or estimate revenue or business value. When leading an engineering team, this often means staying in touch with this research through the product team or business stakeholders involved in the project. Any disconnect in this regard can create issues for the project. To illustrate this, let me share a story.

A bright technical lead on our team, whom we’ll call Brian, was passionate about the technical aspects of his role. Brian diligently ensured high-quality pull requests (PRs), clear design documentation, and robust security, privacy, risk, and mitigation plans. He excelled at the outputs of his job and could readily discuss PR counts, uptime levels, and other metrics.

However, Brian consistently struggled with outcomes. From the business perspective, the project needed to contribute to specific user priorities (outcomes). Unfortunately, it also operated in a new, somewhat ambiguous space that we were all navigating together. When our product team adjusted strategy based on research to better align with business or market needs, Brian became frustrated. He questioned whether these adjustments were truly optimal for the project’s outcomes.

Brian believed the team’s experience building the outputs gave team members a better understanding of what users needed as an outcome. He didn’t fully grasp the business’s optimization goals or the long-term implications of decisions. For example, he didn’t realize that shipping the current output would effectively lock us into a two- to three-year commitment.

Despite our attempts to explain this to Brian, it became clear that he was most comfortable focusing on the outputs he could build and lead. He preferred for others, such as the product team or leadership, to consider the business outcomes and convince him of their validity.

Ultimately, Brian decided to leave the team because his beliefs were not aligned with the company’s. From this experience, I now strive to clarify early in projects how they connect to the business’s desired outcomes and consistently communicate this message to the engineers involved.

As a team leader, you must fully grasp the outcomes the business is interested in and communicate them clearly to your team. By focusing on outcomes, you can ensure that your team is progressing toward its goals and that resources are being used effectively. You will also be in a better position to understand what is and is not working in team structure or processes and adjust accordingly. This can lead to improved performance, increased efficiency, significant impact, and, ultimately, a more meaningful measure of success for both organizations and individuals.

In short, focusing on outcomes allows organizations and individuals to measure success more meaningfully .

Effective Efficiency

Doing things right and doing the right thing are both important. The ideal should be to do the right things right. This implies becoming effectively efficient. So, to recap, effectively efficient teams need to:

  • Do things right.

  • Do the right things.

  • Ideally, do the right things right.

In this section, let’s look at some of the steps you can take that will help you do the right things right and become effectively efficient. Naturally, since effectiveness and efficiency are different, there are some trade-offs involved. This section highlights what these trade-offs are and helps you identify and balance them.

Effective Efficiency for Beginners

The principle of doing the right things right can apply to everyone from individuals to organizations.

An individual contributor may easily be caught up in a cycle of efficiency where they focus primarily on getting themselves up to a high level of productivity. They may invest their time in tools, techniques, and patterns that help them accomplish more to become more efficient. There may also be a tendency to take this too far and optimize code for terseness and not readability. While efficient, this may not be effective in the long run. In essence, the individual contributor would be chasing a number that indicates high efficiency but may or may not translate to better outcomes for the customers or the business.

Another common pattern I have observed among individual contributors is over-indexing on the technical side of work. In my years leading various teams at Chrome, I’ve seen many engineers who are technically brilliant but sometimes miss the bigger picture.

For example, Jane was a star in our Developer Experience team, known for her prowess in crafting great design docs and well-written PRs. However, she often focused narrowly on the technical aspects, losing sight of our overall business objectives.

A striking example was when she developed an advanced feature for our product portfolio that, while technically innovative, wasn’t aligned with our immediate user needs. We had tried to highlight that this work wasn’t a part of our plans for the year and wasn’t aligned with strategy, but Jane still worked away on it.

Recognizing this gap, I introduced Jane to the broader context of our projects, pairing her with a product manager from our services infrastructure team. This collaboration was transformative. Jane began understanding the practical applications of her work, seeing beyond the code to its impact on end users and our strategic goals.

We also started a practice of having her present her technical solutions to nontechnical stakeholders across different time zones, enriching her perspective and ensuring her work was in sync with our global objectives. Jane’s evolution was a testament to the importance of blending technical skills with a deep understanding of business and user needs.

It is essential that engineers understand the context of the tasks they are working on. They are then able to align their code with that context. They can judge if it is OK to compromise on code quality/abstractions in favor of readability and maintainability. Similarly, test engineers can judge which features are high priority based on the context.

Becoming effectively efficient entails more pragmatism and being aware of your context. A few ways in which developers can be effectively efficient include the following and are also shown in Figure 2-1 :

Asking questions

Individual contributors must understand the larger picture before they start coding. They may wish to invest some time in unblocking themselves via research. If information is not readily available, they should ask specific questions that would help them proceed to fill gaps in their knowledge of the business domain and technical architecture.

One of my colleagues, a senior engineering manager, recommends a 20-minute rule to his team: “If you are blocked, use the first 20 minutes to do research to unblock yourself; after that, either ask our team chat or a person and let them know of the results/findings of the prior research.” This enables them to better understand a problem or task and the requirements and constraints involved before asking questions, making informed decisions, and producing better-quality code. By asking questions before it is too late, developers are more likely to identify issues and potential roadblocks earlier in the development process. Similarly, testers gain a better understanding of what they should test for. This helps prevent delays and meet customer expectations at the same time.

Following standards

Developers may resort to subpar coding practices if their only aim is to ensure that the code runs (on their machines). They may hardcode parameters, not address edge cases, or skip including comments. This might produce immediate results but slow the overall development process as more time is spent on code reviews and fixing issues. Instead, making good coding practices part of the initial code delivery will lead to a slightly delayed but successful PR merge.

Collaborating

Developers and testers can communicate and collaborate with other team members even outside formal team meetings. Such exchange of ideas could provide a better understanding of the goal and create avenues to reuse tools, code, and patterns, thus driving efficiency as well as effectiveness.

Using the right tools

Developers should leverage the right tools tailored to their specific needs. For example, many developers today use Visual Studio Code (VS Code) to write and edit code. However, VS Code is much more effective when used with the relevant extensions and plug-ins that are suitable for the technology or languages being used. These extensions help developers to fine-tune workflows and optimize their productivity while producing high-quality, error-free code.

Figure 2-1. Effective efficiency: do the right things right!

These actions may seem insignificant by themselves, but asking timely questions, adhering to coding standards, promoting collaboration, and utilizing the right tools can go a long way toward helping developers become effectively efficient. These practices set the right pace and attitude necessary to streamline workflows, improve code quality, and ensure successful project outcomes.

Thus, best practices such as collaboration, following standards, and asking questions are popular because they foster efficiency and effectiveness.

Managing Trade-offs

Although actions that promote effectiveness and efficiency may sound so wonderful that they seem to go together like peanut butter and jelly, that’s not always the case. It is still possible to have too much of a good thing. There are times when something that promotes effectiveness can be detrimental to efficiency. Consider the following situations:

Choice of technology

You want to try a new and efficient programming language or architecture pattern to accomplish a goal, but learning it will take time, and there may be unknown roadblocks. Instead, another tried-and-tested technology that the team is familiar with could help to achieve your goals more effectively.

Testing

You might have to choose between a comprehensive testing approach that is highly effective but takes more time and resources to execute and a more efficient testing approach that may be less comprehensive but can be executed more quickly.

As a software engineering leader, you must weigh the trade-offs between effectiveness and efficiency in such situations. Several factors may influence the decisions you make to manage these trade-offs, such as:

Project timelines

The time available to complete the project or sprints is estimated in some way before development starts, and timelines are not very flexible. Decisions about things that can affect the timeline (for example, comprehensive testing) should be factored into the estimation. If the deadline is tight despite this, then you should try to negotiate the scope of features to be developed in the sprint, prioritizing those that are most useful for users. Another option would be to plan the development by reusing components or putting in extra hours whenever possible to achieve maximum efficiency.

Budgets

If the project has a limited budget, you may not have the time and resources to let the team members experiment. They will have to work efficiently within the budget to meet the required goals effectively.

Long-term maintainability

Developers in your team must ensure that their code is maintainable. They may consider the trade-off between productivity and the potential technical debt that could accumulate. You should stress the importance of making the code high quality and easy to maintain in the future. This might take more time and effort, but it will be effective in the long run.

User needs

Engineers must consider the features or components of the project that are critical to the user and focus on effectiveness, even if it means taking more time or resources.

Managing trade-offs may be challenging. With each project, you gain the experience to tackle trade-offs better to ensure that you produce high-quality code that meets the user’s needs, is maintainable in the long run, and is delivered within the project’s constraints. The story of Airbnb in its early days is an excellent example of how these trade-offs can be managed effectively.

One and a half years after its launch, the founders of Airbed and Breakfast were in debt. They had around 50 visitors a day and 10 to 20 bookings, which was not enough to sustain their business. Founder Brian Chesky had to find innovative ways to address user concerns on a shoestring budget.

The team members decided to prioritize core features that were really important to their users. From user feedback, they knew that functionalities like guest profiles with photos, listings, and booking systems provided more value to Airbnb hosts, so they prioritized these. Features like advanced search filters and personalized recommendations that personalized the user experience were tempting, but they were luxuries Airbnb couldn’t afford at the time. These were put on hold.

This stripped-down approach might have lacked bells and whistles, but it possessed unyielding strength. It launched quickly, allowing Airbnb to capture early adopters and gather crucial user feedback. Slowly, feature by feature, Airbnb built upon its solid foundation, and the rest is history!

There will always be trade-offs, and learning how to manage them is an essential requirement for becoming effectively efficient.

Redefining Team Productivity

When striving for effective efficiency, it is important to remember that productivity is a subset of efficiency. Using modern measures of productivity that are relevant to your team can help to reduce the gap between productivity and efficiency. You can use these measures to define productivity in the context of your team.

Traditional productivity measures were designed to measure the output of repetitive tasks, such as the number of records created by a data entry clerk or the number of phone calls answered by a call center executive. These measures are easily quantifiable and may consider only a limited number of variables to account for the complexity of the work performed.

These traditional methods are not suitable for measuring productivity in software engineering, which is a knowledge-intensive activity involving problem-solving, designing, and developing complex software systems. The output of software engineering is frequently intangible, and estimating the actual value of the work done takes time and effort. For example, the value of a software system itself can be measured by the software’s functionality, reliability, maintainability, scalability, and usability.

Furthermore, the work done by software engineers often involves activities that are not easily quantifiable but can significantly impact the team’s overall productivity. For example, the productivity of a software engineer may be affected by the time they spend in meetings, discussions with colleagues, and learning new technologies and tools. These activities may contribute to improving the overall outcome of the project and yet may not be captured by traditional productivity measures such as throughput or velocity.

For GitHub , a leading collaborative platform for software engineering, ensuring a stellar developer experience is paramount. Developer productivity directly affects developer experience—productive developers are happy developers. To improve something, you have to measure it first. Hence, accurate developer productivity tracking, including collaboration metrics, is crucial for the GitHub team. This becomes even more vital with AI poised to revolutionize developer productivity.

Dogfooding exercises revealed that GitHub developers wished for deeper collaboration measurement. They envisioned a holistic approach that utilizes data from messaging and collaboration tools such as Slack, Jira, PRs, documents, and more, capturing both synchronous and asynchronous communication.

Productivity and collaboration metrics at GitHub are thus based on questions like the following:

Time to user feedback

How quickly do developers receive valuable insights?

Asynchronous communication

How effectively do they collaborate through non-real-time channels?

Focus blocks

How much uninterrupted time can they dedicate to deep work?

Novel problem-solving

How much time is invested in tackling unique challenges?

Code and bug fixing

What’s the balance between building and fixing?

Security and vulnerability

How often are security issues encountered and addressed?

Upskilling

During releases, how much time is spent on learning and development (self and others)?

Automated testing

How much time is dedicated to writing and maintaining automated tests?

Context switching

How often do developers switch tasks, and how does it impact productivity?

Subjective well-being

How productive do developers feel?

Meeting culture

Do developers feel that they are attending the right meetings?

These smaller metrics feed into the larger picture, helping GitHub optimize productivity, developer experience, and ultimately platform success.

This is why software engineering leaders should clearly define what productivity means for their projects without using outdated traditional measures. Instead, they should use new approaches to measure productivity in a way that considers the unique characteristics of software engineering work and focuses on measuring outcomes, quality, and value. The new productivity metrics can determine whether the team is achieving the right results for its customers and whether the team members are happy and healthy while doing it.

For optimal results, productivity metrics may be defined at the individual level as well as the project or team level.

At the individual level, teams can use SMART goals. A SMART goal is a goal that is specific, measurable, achievable, relevant, and time-bound . The purpose of the SMART methodology is to provide a template to help you write actionable, achievable goals in an organized fashion.

At the team level, there are two techniques that can help define relevant productivity metrics:

Goal-question-metric (GQM)

The GQM approach is a methodology for driving goal-oriented measures throughout a software organization. The approach involves defining a set of goals that succinctly reflect the project’s objectives and then identifying a set of metrics that can be used to measure progress toward those goals. The metrics should be specific, measurable, and relevant to the goals. This could also include relevant aspects of productivity, such as code quality, process efficiency, and team performance. You can form a holistic picture of the project by mapping business outcomes and goals to data-driven metrics. For example, consider the following metric and questions for the given goal:

Goal

Improve the search engine ranking for a website.

Questions

  • What is the current ranking for the website?

  • How can the ranking be improved?

Let’s say you find that the ranking depends on mobile performance and user experience. You can then track the following metrics:

Metrics

  • Page loading speed on mobile

  • User experience metrics

Objectives and key results (OKRs)

OKRs are a practical goal-setting framework that many companies employ to align the team and individual goals with the organization’s overall strategic objectives. 1 The OKR framework involves setting specific and measurable objectives and then identifying a set of key results that benchmark and monitor how to get to the objective. The key results should be specific, measurable, and time-bound. OKRs can be used to measure productivity at different levels of the organization, from individual contributors to teams and departments. Google often uses OKRs to try to set ambitious goals and track progress.

The GQM approach and the OKR framework can help you measure productivity in a way that is more aligned with the unique characteristics of knowledge work like software engineering. These approaches focus on measuring outcomes, quality, and value rather than just inputs and outputs. They also provide a way to align individual and team goals with the organization’s overall strategic objectives, which can help improve motivation, engagement, and performance.

Do-Your-Best Goals

GQM, OKR, and SMART are based on the principle of goal setting. Research published in American Psychologist has shown that implementing specific, difficult goals consistently leads to higher performance than just urging people to do their best. Do-your-best goals have no external referent and thus are defined idiosyncratically. This allows for a wide range of acceptable performance levels. Goal specificity reduces the variation in performance by reducing the ambiguity about what is to be attained.

By redefining their productivity metrics, your team can set outcome-based goals instead of output-based goals. This ensures that your team is working on the right things and creating value for the organization, thereby becoming effectively efficient.

Balancing Effectiveness and Efficiency

Finding the right balance between delivering outputs and prioritizing outcomes can be challenging, but the two goals need not be exclusive. Finding this sweet spot requires the definition of three crucial things:

Strategy

Effectiveness is achieved by making improvements to the right things to achieve organizational goals. The evident first step is to identify the right things, derive the corresponding objectives, and define a strategy to achieve those objectives.

Metrics

Once you have defined your goals and created a strategy, you need to determine how you would measure the success of your plan. As a part of this, you can determine areas where efficiency drives effectiveness.

Commitment

Once you’ve decided what you want to do and how you will know you’re on track, the next challenge is following through. You should plan your communication such that everyone understands organizational goals and their role in achieving them.

By using a data-driven approach to track performance metrics and committing to a strategy that balances effectiveness and efficiency, software teams can successfully balance the two factors. This can enable them to deliver high-quality code and services that meet their users’ needs while operating efficiently. Netflix implemented an excellent example of this approach.

Netflix has always been committed to improving the video-viewing experience for its users. Its goal is for every member to view high-quality video on every device, every time . It also wants to ensure that its system can scale efficiently as the number of users grows. Netflix leveraged the extensive streaming data available to it to achieve this goal. Its strategy is to use this data to build models, algorithms, analytics, and experiments that would help it optimize video delivery. To measure the success of these models, Netflix uses metrics such as video load time, visual quality and bitrate of the delivered video, and rate of video interruptions. These are directly related to the quality of experience perceived by the user and indicate the effectiveness of the service. Thus, by continuously improving these metrics for a growing user base, Netflix has demonstrated its commitment to its goals.

Everyday Tips for Becoming Effectively Efficient

Goal-setting frameworks and the use of metrics can go a long way toward making a team effectively efficient. Here are a few everyday tips that highlight everything that I have discussed so far to help leaders and teams progress in the right direction:

Prioritize effectiveness

While efficiency and productivity are essential, they should never come at the expense of effectiveness. Develop the habit of always prioritizing doing the right thing over doing things quickly or efficiently.

Focus on outcomes

Rather than measuring productivity based on outputs or throughput, focus on outcomes and business value. Make sure that everyone on the team understands the goals and objectives they are working toward and how their work will impact those goals.

Use metrics

Measuring the right things can help you balance efficiency, effectiveness, and productivity. Use quantitative methods that capture your work’s outcomes and business value rather than just the amount of work completed.

Foster collaboration

Collaboration can improve efficiency and effectiveness by allowing team members to share knowledge, skills, and ideas. Encourage teamwork by creating opportunities for team members to work together and share feedback. Utilize collaboration tools that also promote efficiency and effectiveness in different scenarios. For example:

  • Asana, Trello, or Jira for project management

  • Slack, Microsoft Teams, or Zoom for communication

  • GitHub, Bitbucket, or GitLab to collaborate on code and manage code reviews

Empower team members

Empowering team members to make decisions and take ownership of their work can improve efficiency and productivity by reducing bureaucracy and streamlining workflows. When team members feel empowered, they are more likely to take the initiative and work efficiently. I shall discuss this in further detail in the next chapter.

Continuously improve

Always look for opportunities to improve efficiency, effectiveness, and productivity. Regularly review your workflows, tools, and processes, and adjust as needed to optimize your team’s performance.

Empowering team members is also a great way to promote psychological safety in the team. Similarly, by using relevant metrics, you enable structure and clarity toward your goals. Thus, these everyday tips gradually take you closer to your goal of building an effective team .

Conclusion

In the preceding chapter, we explored the essential components for building an effective software engineering team: the right size, diversity, and a mindset that fosters unity and trust through communication. This chapter delved deeper into the significance of these elements and their impact on the measurement of effectiveness, efficiency, and productivity, which are the crucial metrics for gauging a software engineering team’s success. By strategically balancing these factors, you can help your team drive value for both your organization and your customers.

As team leaders, you must not only understand the subtle difference between these terms but also carefully balance productivity, efficiency, and effectiveness to ensure that your teams work on the right things, correctly use the right resources, and deliver beneficial outcomes.

To achieve this balance, you must have a clear strategy, well-defined metrics tailored to your desired objectives, and a commitment to follow through. Prioritizing outcomes over mere outputs allows you and your team to truly enhance the quality of your product. Encouraging proactive risk mitigation through a focus on code health, capacity, and collaborative opportunities further solidifies this approach.

This concludes the discussion of effectiveness versus efficiency versus productivity. In the next chapter, I will introduce my enable, empower, and expand (3 E’s) model for effective software engineering, which can be used to scale effectiveness for growing teams and organizations.

1 For example, the Sears Holding Company released performance metrics after implementing OKRs for 20,000 associates. They found that teams consistently using OKRs were 11.5% more likely to move to the “higher performance” category. There was an 8.5% surge in hourly sales.