Building a product, one interview at a time
From the very beginning, it’s been our goal to build a product so helpful our users could never go back to programming the old way. This mission continues to drive us every day towards improving the site as Sourcegraph has evolved since we our humble beginnings in late 2013. In the spirit of open source, we’d like to open our doors and show how we improve Sourcegraph each week through user research and share some things we’ve learned along the way.
The setup
User research is best when it mimics a familiar environment for your users. When designing research for a product that is dependent on space and context, like understanding how a parent uses a shopping cart at the grocery store, you might perform an ethnographic study by taking a trip with them to their local grocery store to better familiarize yourself with their life and the decisions they make before, during, and after the trip. But for programmers who often code wherever there’s enough space for a laptop, we host our sessions here at our office in San Francisco. To do this, we prepare:
- A testing laptop that runs a working prototype of Sourcegraph in a production environment and a second screen so everyone can see what the participant is doing in real time. An audio recording device (a smartphone is fine) is great for reviewing any feedback or dialogue later.
- A quiet place (any office with a closed door is fine) to conduct the interview to limit distractions.
- A cohort of users who actively use the product and are willing to give honest feedback, as well as a control group who has never used Sourcegraph before.
- Sticky notes and/or a whiteboard for later analysis.
Framing the research: what are you trying to solve for?
Is your product a vitamin or a painkiller?
This question is often used to identify the core value of a product and to understand the painpoints that a it addresses. It’s a great question to ask before you start your user research to help narrow your focus.
The first thing you need to do is to define your core thesis — How does the product resonate with users? What kinds of problems does it solve? What product areas need messaging clarification or education? What hypotheses need to be tested? While you’ll want to want to answer EVERY question you have about your product, the reality is that you will probably only have time to interrogate one or two fundamental hypotheses in the span of a 1 hour conversation. Large corporate research is often plagued by a large number of stakeholders with different business needs that dilute the project’s focus and integrity, making it impossible to inform strategic decisions. If this happens to your team, you might as well have users take a Survey Monkey questionnaire for thin, broad insights.
Product refinement or rapid innovation?
Your users won’t tell you how to build your product but with the right line of questioning, they can create a foundation of behavior to inform your product direction. As a developer, researcher, product manager, or combination of all three, your job is to package and prioritize your observations and to create solutions that anticipate future functional and emotional needs. As Henry Ford famously said, “If I had just listened to my customers I would have built a faster horse.” Our hypotheses was aimed at understanding the difference between how programmers currently search for code, and how they could potentially search for code and usage examples.
Testing a new way of thinking
For our research, we wanted to test a completely new user interface to allow our users to explore annotated source code and examples, similar to the way we explore Wikipedia articles and find related but new information through our own curiosity. Can people actually think of code like this? If not, how can we change the limitations around how we interact with open-source code? And what kind of new behaviors would this create? We started thinking of more questions than could ever be answered and settled on 3 main hypotheses to test around one of the most overlooked and necessary parts of a product: user education.
With the page redesign, we focused on three questions for each section of our website:
- Messaging: Do users understand what Sourcegraph does? If so, how deep does their product knowledge go?
- User needs and behavior: What are the first actions a user takes on each of the three pages we show them?
- Next steps: What are quick fixes and what are more strategic, long term improvements we can prioritize?
Recruiting your users
If you’re new to user research, it may be a good exercise to interview people you already know. We started by reaching out to friends and colleagues who were familiar with Sourcegraph from the beginning. With a strong rapport already in place, it’s a great time to test out your interviewing skills and find what questions create meaningful feedback.
Get Charles Carrington Vickery’s stories in your inbox
Join Medium for free to get updates from this writer.
In order to talk to users who had little to no experience with Sourcegraph, we reached out to qualified candidates over Twitter and started asking our friends to reach out to their friends and get feedback on Sourcegraph. If you don’t have a large list of friends to draw from, you can always reach out to other programmers on Hacker News or other programming-friendly sites, although expect to compensate them for $25–75 for their time. Maybe even try free lunch ☺
Discussion guide (~15 minutes)
Getting to know each other: when a user comes into our office, we start the interview by asking very simple, open ended questions to outline their current workflow for writing open source code. We take note of what software they use, their opinions on different coding strategies, and what projects they’re currently working on. We do this for two reasons: to help them feel comfortable in the interview and to create a baseline understanding of their workflow for later questioning.
Revealing the new Sourcegraph: (~30–45 minutes)
After establishing a better understanding of a person’s profile and workflow, start diving into your product. Learning to interview well takes time to master but here are some tips to help frame your questions.
You’ll be tempted to ask leading questions that are directly focus on the answer you’re looking for but don’t elicit good responses. Leading questions might sound like “would you say that…” or “do you like this feature?” They imply an answer that’s already been forecasted and don’t allow for true exploration of a topic. Your job isn’t to boost your ego but to understand the difference what people do, and what they say they do.
Instead, feel free to try these open ended questions:
Tell me about your process. What tools do you use to solve problems? Can you think back through a day last week when you used some of these tools? Do you remember anything that was helpful or frustrating? Tell me about a time when you tried to do something and the product failed you.
Wrap up (~5–10 minutes)
How would you describe Sourcegraph to a friend? What about your parents (assuming they’re not programmers)?
The wrap up questions are used to cover any additional topics or follow-up on any stories that sounded interesting during the interview. This is often a great time to read back through your notes and dive into topics that seemed tangential and became more important in retrospect.
Internal roles
Our team of three specializes in a range of different skills at Sourcegraph but we perform research as a whole team. Often time, the job of the researcher is to outline the parameters of the research and to create clear objectives based on themes that emerge from these conversations. In mature companies, user research is often conducted by an outside research firm in order to prevent this kind of overlap but most startups don’t have the kind of budget to do this (full-scale research can range anywhere from $5000 — $1,000,000+ depending on the agency and depth of the research).
Developing insights
You’ve completed your research, started to see patterns in the questions, and you feel like a pro interviewer. But what now?
One of the hardest parts of research is framing the insights. It’s easy to have a knee-jerk reaction to what users tell you during the interview process. Your goal at the end of this research should be to identify the consistent behavioral themes.
The outcome
The general hope of research looks something like this:
research + insights = clear product vision
But often looks more like this:
research + insights = WTF (Where To-go From here)
The next stage of development is usually a time to consider the insights and begin prioritizing features and product direction, which usually consists of taking the insights and internalizing our users’ painpoints to build around these tradeoffs.
For Sourcegraph, this meant overhauling the entire code browsing experience but it was the insights built through consistent research practices that helped us see this opportunity.
Good luck and please let us know if you have any feedback @srcgraph on Twitter or send us an email hi@sourcegraph.com
Charles is a Co-creator at Sourcegraph. With a background in design research and product strategy, he’s always looking for the intersection of what people do, and what people say they do. Say hello on Twitter @charles_vickery or email him directly at charles@sourcegraph.com.






