The Edge of Risk Menu Search
New thinking on corporate risk and resilience in the global economy.
In Practice

Train Your People To Think in Code

Partner at Oliver Wyman Digital Practice

Most companies still equate doing analysis with writing formulas in spreadsheets. But the business landscape has shifted seismically since the invention of the spreadsheet. Today, organizations must think in terms of millions of individual customers—not just a handful of segments—and solve problems with reusable solutions to avoid re-engineering the process from the ground up. And they want to benefit from the latest advances in machine learning and AI, not simply throw regressions at whatever analytical problem they face.

In short, companies need to retrain for writing code, not formulas, as the future of work will entail thinking not just analytically, but also algorithmically.

This change of perspective is significant. Most companies might see code as something confined to obscure corners of the IT department or as the exclusive province of a select group of data scientists. But organizations that manage to make code the natural language for diffusing analysis across their business can often grow and innovate faster than their peers.

Taking a code-centered approach will benefit organizations in three ways:

  • First, thinking in code allows companies to cleanly separate data from analysis of the data, which allows teams to improve each one independently of the other. When data and analysis are cleanly separated, different teams can focus on independently improving each aspect, leading to faster progress.
  • Second, code is much easier to share and reuse—the entire open-source software movement rests on this idea. Software developers have spent years building tools to make their work easy to trace, modify and share.
  • Finally, code is better for both simple and complex analysis. Breakthroughs in machine learning and AI techniques are implemented as code, and by cloning the code researchers are using, individuals can gain access to state-of-the-art techniques in analysis, quickly and for free.

So what must managers do to move their existing workforce along the spectrum from formula to code?

Tear Down the ‘Tower of Babel’

Communication is a prerequisite to collaboration. Language barriers create some of the strongest barriers to effectively sharing ideas. This is not just true for text exchanges and spoken conversations—it’s equally true for code. But having to mentally recast ideas in several programming languages requires additional expertise, as it can be cognitively demanding.

Companies should aim to select two, at most, but ideally one analytical programming language as a company-wide standard—something everyone can “speak.” To be clear: No single choice is perfect for every situation, and reasonable people can disagree on the choice of standard, so teams should prepare for familiar change-management challenges. Companies can assuage naysayers and stay current by agreeing to revisit standards every couple of years.

Create Shared-Code Repositories

Once people transcribe ideas in a common language, companies should take a cue from open-source communities and establish their own shared-code repositories and knowledge bases. This makes it possible for people to share their coding work quickly and easily and to avoid constantly reinventing the wheel.

As with any central system, companies need to be thoughtful about security and permissions, and they should vary access credentials according to their own standards for confidentiality or intellectual property protection. But creating a rich space where ideas can benefit from a wide array of contributions is a powerful engine of progress, and companies can benefit enormously.

With shared-code repositories, multiple groups within an organization can use the same code files to solve similar problems.

For instance, the marketing team in a bank might want to know about customers who are thinking about mortgage refinancing so they can target certain products against these customers; and the finance team might also want data on possible refinancing as it projects budgets and billings. The problem formulation is the same in both cases—how many people, and which ones, are likely to refinance? So, why not use the same code to get to the answer?

Companies need to retrain for writing code, not formulas, as the future of work will entail thinking not just analytically but also algorithmically.

Just Pick a Project

A good way to get going quickly is to pick a project, create a code repository around it, and invite contributions from a wide audience.

Code-sharing platforms like GitHub and Bitbucket make this easy. It’s useful to start with broadly applicable and noncontroversial projects—such as time-series forecasting, generating customer segmentations and calculating price elasticities, to name a few.

Some companies have gone beyond internal shared repositories and have publicly shared their efforts. Leading technology companies like Google and Microsoft have been doing this for some time. But now, companies in other industries are beginning to see the advantages in adopting this strategy. One telecom carrier, for example, has made its shared-code repositories part of the open-source community, which allows the company to avail itself of help from others, even outside the company, and potentially set the standard platform for the telecom industry.

Make Code Part of Business As Usual

Companies that want to generate the most value possible from advanced analytics face one final and daunting challenge: They must make code-based modeling the rule, not the exception.

It must become business as usual, as unremarkable and reflexive as attaching a spreadsheet to an email. What makes this challenge formidable is that it requires not just a change in perspective but also a change in habits. But there are pragmatic strategies for accelerating this shift.

Value of Training

A strategy for making this change happen quickly and smoothly is to protect and provide time for employees to get training. Today, there is a vast array of options available to companies and individuals alike, ranging from boot camps to massive open online courses (MOOCs) to customized, onsite instruction.

With focus, becoming a competent coder is not an insurmountable task, and managers shouldn’t assume their employees are not up to it.

No Need To Fear

There are many guideposts in this new world. Popular answers, whether found through a search engine, a training resource or a peer teacher, are almost always elegant and reusable. And sometimes, those answers will contain links to extensive open-source code repositories with solutions to any manner of related problems.

The same is generally not true for spreadsheets, whose intermingling of data and analysis makes it difficult to abstract away just the reusable and improvable solution to your problem—especially when that solution requires more than just one step.

David Waller

Partner at Oliver Wyman Digital Practice

David Waller is a Partner and the Americas Co-Head of Data Science and Engineering for Oliver Wyman’s Digital Practice. He leads projects that utilize advanced statistical and machine learning methods to solve the challenging analytical problems that lie at the heart of modern business.

For optimal delivery, please select your region:
Please enter a valid email address.
Success! Thank you for signing up.