Janelle Klein — Idea Flow and Measuring the Pain in Software Development

Janelle Klein is an Austin-based NFJS tour speaker, technical mentor, CTO of the recruitment consultancy New Iron, and author of the Leanpub book Idea Flow: How to Measure the Pain in Software Development. In this interview with Len Epp, she talks about her path into software, technical assessment and hiring, and her data-driven approach to measuring friction in developer experience as the key to software mastery and healthier organizations.

Len Epp: I usually like to start these interviews by asking people for their origin story. How did you first become interested in software development?

Janelle Klein: I’ll start from slightly before college. When I graduated high school, I ran off and married my high school sweetheart, not the best decision I ever made. But that got me running off to California to be a professional songwriter and following my dreams. Then I got into college and I started to realize what a career in music might actually be like, and it just sucked all the passion out of me thinking about having to write to make money.

I knew absolutely nothing about software development. We had a computer growing up that I played lots of games on, so I’ve always been a huge avid gamer, and my ex-husband at the time was in the military doing network management computer stuff, a hardware geek, and he’s like, “let’s take this assembly programming class, that’ll be so cool. It’s all this low level cool shit, right?” So we went and took this assembly programming class. And I was like, “this is kind of like programming my calculator in math class. I can figure this out, you guys.” I started writing reams and reams of assembly code. I wrote the game Breakout with the paddles and all that completely in assembly, with full 256 colors and little music and beats when the thing hit the wall. And my teacher was like, “well, at this point just show me what you’re working on, you can work on whatever you want and you get an A.” And I’m like, “that’s cool, I should take more classes like this.”

But that moment really changed things for me, because it was this moment of unlimited exploration where I could go and create anything I could dream of. It was this ultimate artistic medium. And that’s when I fell in love with software development. Really, software development is very much the love of my life.

Len: That’s a fantastic story. People come into software development from so many different directions. I was wondering how you ended up at New Iron doing consulting work.

Janelle: I started off working for New Iron just as a contractor on a project at a semiconductor company. I got really involved in semiconductor manufacturing and supply chain optimization and process control and doing back-end high volume data automation stuff. As I started to learn more about lean, because the company was all about everything lean, I started to get involved in their lean consulting program and teaching lean practices around the company, but in the context of software development.

After figuring out how to solve the problems on my own project and how to turn around a failing ship, I got really good at helping other people to solve those problems. The main thing I discovered is that the job of a consultant is essentially to come in and identify the elephants and point to them. Usually if you just listen to what people are saying, they’re already talking about what all their problems are, and a lot of times I’ll just echo the same things that the team is already saying and explain it to management, but with a nice Keynote and explaining things in management speak. Suddenly all these communication problems where engineers couldn’t talk to management became my niche, figuring out how to communicate all this pain with metaphors so that I could bridge that gap. A lot of the failures of projects are caused by this inability to communicate.

With New Iron, since we specialize in technical assessment and developer mentorship, I’ve got to focus on teaching people, mastering the art of technical assessment and teaching people how to build more effective teams. In school I almost got my PhD, but I decided not to because I was really eager to get into industry. I always had this love of science and research. I thought about going back to get my PhD and then realized I don’t need a degree to be a scientist. If I want to go and do research and learn about problems, I can just set up my own little research lab. So I started treating developers like guinea pigs and set up a little lab in my work environment, then started codifying the things I was learning about how to teach the art of software development into patterns and principles. A lot of that learning created the basis for Idea Flow. So I didn’t scare everybody away, I decided to write my book as a first-person narrative story of my own experiences, so it didn’t read like a dissertation.

Len: There’s a line on New Iron’s website that says being a good developer doesn’t make you a good interviewer. I was wondering how you would recommend people hiring software developers approach interviews.

Janelle: The main piece of advice I would give is to focus on testing decision-making abilities rather than current active skills, in that the profession of software development is all about being a professional learner. It’s knowing how to find and look up information and how to break down problems and how to learn your way out of a broken situation. What I eventually came to is that we need a method of technical assessment that focuses on assessing a person’s capability to reason about problems and navigate trade-off decisions, as opposed to do you know what TDD is or can you write a unit test. At the end of the day it’s not about what you can do right now, it’s about what you can learn when you’re on the job, because you’re never going to be faced with the same problem and the same challenges. This industry changes so fast. We’re professional learners, we’re professional problem solvers. That craftsmanship skill that comes from years of intuition-based problem solving is really what skill is, and that’s what we need to be assessing for. So the main thing I do is put real problems in front of people and then ask them lots of questions to poke into their reasoning process, as opposed to can you get from A to B. It’s about what kind of options are you exploring.

The other thing I’d say is that when people get nervous, their ability to make intuitive leaps to solutions generally shuts down a bit, but their recognition skills don’t. If you put something in front of somebody and they don’t recognize that there’s a code smell of sorts, that’s usually a sign that something is actually wrong or missing. Whereas just because somebody can’t come up with the right answer, the world is not that black and white. Technical assessment is really hard. We’ve been working on coming up with a way to systematize technical assessment so that I could teach other people how to do my interview technique, and it’s taken us a decade to figure out how to do that. A lot of people punt on the whole certification problem because it can’t be done, it’s too hard. There’s so many problems with commercialized certification in our industry that everybody is like, “oh, we shouldn’t even try, because it’s just going to cause so many problems.” I think we need to move toward more of a model where it’s an open certification, where we’re testing decision-making skills, and it’s an industry public debate about working on getting better at this, and make technical assessment a free standard almost, that we work on together as a community, because we all benefit from having a clear definition of what good is.

Len: People can be nervous in interviews, but not nervous when they’re doing their work. I was once interviewing someone who had just finished a master’s in maths at Cambridge and failed to do basic arithmetic in response to a question. So I knew what the interviewee was capable of in normal circumstances, but not in the stressful circumstance of an interview. So I was wondering if you advocate giving people problems to take home and solve as part of the recruitment process.

Janelle: I don’t really do take-home problem solving. I certainly see the benefits, but the main problem I have with the take-home thing is that it takes too long and it’s too much work. In a market where everybody’s hiring and there aren’t enough good people, the last thing I want to do is create more barriers to entry to hiring the right people. We’ve focused on how can we get the maximum amount of information to make a quality decision in a limited amount of time. Because the take-home thing has to be scheduled around life, it’s much easier to get people to show up for a scheduled one-hour call, and I basically do that with video sharing, so I can throw code up on the screen and ask people about it.

The other things I do for the on-site are a code pairing interview and then something that’s more like a design focus. I tend to focus on core skills as opposed to trivia. There’s some computer science related questions that are so far removed from what we actually use on a day-to-day job, that I’m much more interested in people’s everyday problem-solving skills. Can you refactor this code? Can you work with the people on your team? Are you an asshole? Those kinds of things.

Len: That’s a really practical answer. I can imagine the competition for good developers in Austin must be really high.

Janelle: Yeah, we pretty much only work in Austin. Since our company is run by software folks, it’s interesting how we ended up in recruiting, because New Iron used to be a product company that built a first generation web services stack around California, and thought, “oh, we’re going to build this awesome product and everyone will buy it because it’s so awesome.” Obviously that wasn’t a very good business strategy. So it was sitting around going broke, basically. They got a call from an old client, “hey, can you guys help us on this consulting project?” And we’re like, “money, no money.” Easy choice, right?

As we started consulting there, they’re like, “do you guys know anybody else that can code?” Since we already had a vendor agreement set up, we just started recruiting all our friends, and we did full-on interviews for everybody, not having any idea how the recruiting industry was supposed to work, that nobody does this kind of thing. So we started getting really good at technical assessment, and that became our niche. So many companies have unrealistic expectations about hiring Superman, that you can instantly take all these things that you’re deeply familiar with and say, “oh, now you do this job.” Hiring isn’t a first priority in a lot of companies, so people don’t necessarily put the time into it that it needs and deserves, yet it’s so important and causes so many problems when you hire the wrong people for the wrong things. So we get a lot more involved in understanding what our clients actually are trying to accomplish as a company, as a team, and help them come up with a realistic strategy, where they can find a gap they can fill as well as a gap they can sell, because in this kind of market, if you have a job for “oh, this is a Java development position,” it’s like so many other Java development positions.

Len: Moving on to the subject of your book, which I really liked, you start with a pretty dramatic story about your experience working on a statistical process control system for a semiconductor factory. I was wondering if you could talk a little bit about that experience and its impact on your approach to complex software engineering projects.

Janelle: That’s a big question. I was on this project with this really great team, really smart people. We had test automation, CI, disciplined practices, and despite doing all the things that we’re supposed to do, our project basically crashed and burned and hit a wall. By hit a wall, I mean we brought down production three times in a row and then didn’t ship again for another year. This is a 24-7 operation, so downtime is a really big deal. The third time we brought down production, not only did production go down, the rollback failed, and then the feature toggle to disable the broken stuff failed, so we were up at like three in the morning hacking out a patch fix just so we could get the software out of production. It’s the most miserable experience you can imagine.

This was my second job out of college, so I was kind of a little hotshot and had my head in the clouds and thought I was awesome and pretty much infallible, and had this great idea that would improve performance, to basically flip the architecture inside out and do this massive set of changes. Of course, I put that all in production all at once, and it’s one of those huge lessons in your career that you never forget, that really fundamentally changed the trajectory of my life. I was a super TDD zealot type at the time, so I was convinced that our success was all about whether we were following the right practices. When I was doing all this great stuff and I failed anyway, it was the most foundation-shattering experience that I could have ever imagined.

So we got together as a team and we’re like, “what the hell are we going to do? Because we’ve been doing everything right, but we’re failing anyway.” We built a tool that could detect high risk changes in the code, because we thought the problem was technical debt building up over time, and we thought we could use this tool to let us know where we needed to do extra testing by identifying the areas where there were changes to high tech debt code. But what we found was that most of the mistakes were actually in the most well-written parts of the system. So we started digging around in the data trying to make sense of what we found, but there weren’t any answers that made sense and correlated with what we knew about software development. The correlation we did find was that a lower familiarity with the code tended to increase the likelihood of mistakes. While that made some sense, it seemed like there had to be more to the story than that, because when we had to work with complex code, it was really painful.

So we started down this path of trying to understand, what is it that makes development feel painful? As we were working, we started collecting all this data on where we were experiencing pain, talking about the specific things that were causing the pain, keeping measurements about how long these various things took, and writing up the things that seemed like our biggest problems on a whiteboard. It wasn’t until we started down this road of collecting data that we realized that we’d been essentially solving all the wrong problems. We had all this test automation, but the tests didn’t catch our bugs. We had well modularized code, but it was still really difficult to troubleshoot all the defects. We realized that most of the problems were actually caused by human factors, how a human interacts with code while they write. That’s where this whole technique of measuring development experience came from, as a means of feedback, because it was the only thing that seemed to really matter at the end of the day, whether it was easier or harder to do our job. Data became this unifying force on our team where it really brought us together in learning how to learn together.

At the time, I couldn’t put what I’d learned into words, but I knew I wanted to teach it to other people. After I read Peter Senge’s book, The Fifth Discipline, about how to build a learning organization, I was so inspired that I was like, “oh, I need to figure out how to write this down,” because this is the essence of what Peter Senge is talking about, learning how to learn together. I found this really tight correlation between science and learning organizations, and when we started using this scientific method-ish process to learn and examine the data and have a shared direction of better that we’re all reaching towards, that suddenly unified a team in a really cool way. It wasn’t about what practices we were using, it was about whether we could identify the right problems to solve. Once I learned how to identify the problems, the rest of it was easy. I got a team of professional problem solvers. That turned into the skill that I wanted to figure out how to teach, even though we didn’t have words in a vocabulary to describe the things we learned.

Len: When you talk about the data gathering, I know from reading your book that there are very specific things around that, and I was wondering if you could explain what the data is and how the gathering takes place.

Janelle: I’m measuring specifically troubleshooting, learning, and rework. We have tools that integrate with the developer’s IDE that are partially automated, partially manual. From a time tracking perspective, it’s a lot different than managers wanting us to track our time in JIRA, because these were tools created by developers for developers to use to understand what their problems are. We’ve always kept management out of the data. It’s like, we’re doing this for us, go away.

Essentially, when we’re writing code we go through this cycle of you write a little code and work out the kinks over and over again. When you’re validating things, you’ve got a prediction in mind of what you’re expecting the code to do, and at that point there’s a decision point in our brain. If the code does what we expect it to do, we write a little bit more code, and if the code doesn’t do what we expect, we go into this troubleshooting mode. What I found is that in moving forward, learning, basically figuring out what you’re going to do can take a whole lot of time, especially now that 90% of our software is built from existing parts. If you’re unfamiliar with the code, learning is a substantial part of our work that gets in our way.

On the troubleshooting side, we’ve got to troubleshoot the problem and then do rework to put things back in place before we can move forward again. This flow of ideas between the developer and the software, and the friction in that flow, I’m measuring in terms of troubleshooting, learning and rework, and then actual duration of those times. We have a general rule on the team where anything that takes longer than 20 minutes we talk about and try to understand what the causes are that’s made this incident so painful. It’s always a gut feel type factor. In one case 20 minutes is not much time, in another case it’s way more time than it should be. So you just talk about the things that are worth talking about.

Len: I find the importance that you place on pain to be really fascinating. Could you define what you mean when you talk about pain?

Janelle: In this context, I’m relating pain to friction in idea flow. The reason I use the word pain specifically is for a couple of reasons. One is that I want people to focus on the symptoms as opposed to the cause, because one of the problems that we have in our industry is automatically assuming what the cause is of the pain, like it’s this ugly code I have here, as opposed to focusing on the symptoms we are experiencing and working backwards. So I use the word pain specifically to get people thinking about, well, what are the symptoms, and then let’s have a richer conversation about what are the potential causes, because usually most problems have multiple factors. I think that’s one of the places that developers tend to get stuck on best practices, as it’s very solution-focused.

The other thing is that intuitively, pain is associated with this idea of something that we want to avoid and figure out how to have less of. It’s not about eliminating pain, it’s about figuring out how to optimize and manage the pain so it’s at a tolerable level and stays that way. Friction, even though I’m associating it with pain, often doesn’t totally correlate with what developers are using that word for now. For example, one of the perceptions that’s usually really far off in software development is just our notion of what takes a long time. When we’re busy working on a problem, time seems to zoom by really quickly, whereas when we’re waiting on something to happen, like waiting for something to execute, it feels really painful and time seems to go really slowly. When you start looking at things in terms of elapsed time, we feel like that thing that took five seconds was an eternity, but then we’ve got all this time that we spent troubleshooting that we don’t necessarily associate with pain, even though it takes an order of magnitude more time in terms of human cycles. Because we’re busy doing stuff and problem solving is fun, and things that are fun we seldom associate with painful.

So I was trying to create this mapping visually to remap our pain sensors to something that is explicitly defined, that we could all share this universal definition of what pain is, being things that slow down the process of idea flow.

Len: You were saying just now that pain is something we want to avoid, but one of the reasons I find your book so compelling is that that’s so often not true in management practices. My brother told me a great story where I had an apple-falling-on-Newton’s-head kind of moment. He walked into a big box store and there were two employees, one of an earlier generation and one of a later generation, handing out flyers wearing little vests. The younger person started walking off, and the older person said, “where are you going?” and the younger person said, “to the bathroom.” And the older person said, “make it snappy.” What occurred to me in hearing that story was that pain is actually something that people often use in managing others, as a tool to get the work done. The use of observation and the infliction of pain is so baked into various kinds of management practices that we don’t even notice it. I was interviewing someone recently who said in his first software job he was a tester for the Australian government, and he actually had to log whenever he left his station and why, including going to the bathroom, and for how long, and the humiliation built into that.

The thing I find so interesting about managing software, in a world where software is eating the world, is that it’s become this really important form of labor, but it’s invisible. Imagine you’re in that long ancient tradition of the manager who watches. It doesn’t matter if you’re watching people sowing seeds or reaping the wheat or working on an assembly line, you can develop all these practices around watching people. But with programmers, they’re just sitting there. You can imagine being from that tradition, and then you walk into managing programmers and you’re like, “well, what’s there for me to do?”

What you’ve done in your book is you’ve completely flipped it around and abandoned this form of management that’s so universal and so inappropriate for a world where software is important. You’re looking at exactly the right thing, which is taking into account the pain that people feel when they’re doing types of work. I think that what you’re doing is actually quite revolutionary.

Janelle: That’s an interesting story and take on the management side of this. One of the other big target audiences I had in mind when writing my book was managers, helping them to get a feel for what it’s really like to be a developer in this world. If you listen to the way managers talk and the way developers talk, it’s almost like we’re speaking two different languages. Developers use words like beauty to describe the code, and elegance, and firefighting and explosions, and all of our metaphors are in terms of art and war. Then if you listen, it’s all about money and profit and bonuses and ROI. What we have to realize is that software organizations are basically building a business that sells profitable artwork. You need to think about the economy as a giant art contest.

With software development, it’s very personal, in that we very much invest our hearts and souls as software developers into our work. Seeing your creation get stomped on by all this organizational dysfunction is an emotionally damaging experience. So there’s all this cynicism and struggle and a feeling of helplessness that turns into contempt within our organizations. We get these divided cultures where you’ve got a management culture that’s all trying to raise morale through celebration and there’s all this fake happiness, for lack of a better word, and defensiveness around not wanting to shatter the perfect illusion bubble. So management is often really resistant to talk about problems and pain, because then it seems like a reflection on them if they’ve got little red marks on their status updates.

I see so many managers that believe that it will bring down morale if they talk about the problems. But in fact, quite the opposite usually occurs, especially when you have data to have a conversation about it. Putting the pain on center stage, as opposed to fighting each other and blaming other people for the problems, you have a beast to conquer. When you go and conquer the beast, it builds camaraderie within your company and brings people together around seeking truth, as opposed to this culture of imagining the world that we wish we had and trying to will that into existence through celebration, or the after-work drinks and bitching about our jobs and how nothing will ever change and how everything’s hopeless, which starts to breed this undercurrent of contempt in our organizations.

Emotionally speaking, people are very much going to war. Our software problems create cultural problems and have a huge effect on the lives of human beings. So I’m hoping that these ideas catch on as a strategy where we can bring the art side of the world together with the money side of the world, and realize that we can have both. It takes a lot of work to figure out how to get there, but at the end of the day you build something beautiful, and software organizations become about working together to bring something awesome into the world. When you’re competing in the world’s art contest, you make money because you build something awesome. At the end of the day, I think those are the kinds of things that human beings really care about, having the opportunity to do something that matters and to experience that with other people.

Len: Your insight into what people are actually doing when they’re engaged in software development flows directly from your basic premise that things like pain and the human element matter, because it’s a human activity. Your idea flow metaphor puts the human activity ontologically at the heart of what is really happening. As I understand it, the idea is that interaction with the code as a stream of ideas flowing between me and the software is a correct description of what’s actually happening in coding: I have an idea, I try to express it in code, and you can see whether my idea was translated properly by me into the code, and then properly read by the machine reading the code. And the next step is when someone else is reading my code, have I correctly flowed my idea from its origin within me into them. I find that so compelling, because that actually is what’s happening, that it’s consciousness that is engaging with the machine through code. To try and take consciousness out of it is to completely misunderstand what this process really is. That’s why it follows naturally that concepts like pain become scientific metrics to measure.

Janelle: One of the interesting extensions, I mentioned early on using mentorship and creating a developer lab to test these ideas. One of the ways I’ve been looking at idea flow is mentorship: I have an idea in my head about how to optimize productivity, say. How do I teach that idea to somebody else? That’s another type of idea flow. The thing I learned from that is that the only real difference between communicating something and teaching something is whether we take responsibility for whether that other person actually understood the idea or not. So likewise, I came up with a method of testing whether a person understood, by testing their ability to think through and make trade-off decisions in a variety of staged scenarios. That led to my technical assessment technique too. This whole underlying concept of what does it mean for an idea to get from my head into somebody else’s head, and how do we come up with an explicit scientific method for testing whether that has actually occurred, has given me a feedback loop for learning how to become a better mentor as well.

Len: On that note, you talk about the importance of metaphors, and I was wondering if you could talk a little bit about why you think good metaphors are so important for this process.

Janelle: I had a couple of key influences with that. One of them is a book I mentioned in Idea Flow called Metaphors We Live By, which is a theory on human understanding as a fabric of metaphor, that essentially everything we understand is in terms of other things we already understand, and that we build up understanding through relationships of metaphors. The book goes through a bunch of examples in our languages and comparing cultures, and how when you have a different foundational metaphor you get fundamentally different understanding at the cultural level. It fundamentally changed the way I started looking at learning and improvement and communication, in that I started to think of my brain like a shape toy. I’ve got all the shapes that I know in the world, and when I see a square, I shove that into my shape toy brain, if you can imagine that. In order to be able to recognize something else from my experience, I basically need to define a new shape.

One of the feedback loops I discovered was that by explicitly defining new vocabulary, looking at my experiences and saying, “oh, this is this pattern,” and making up all these new pattern names for types of mistakes, or for different strategies or problems in the code that make troubleshooting take a long time, I basically built a massive taxonomy of patterns. In the process, I realized that I started to recognize things in my experience that I never noticed before, and that there was this feedback loop of the more patterns I could develop in my vocabulary, the more detailed my observations were, and the faster I ended up learning, because it was like I had amplified what I could learn from each experience, as well as given myself all these awesome tools and connections for synthesis.

There was one mentor that had a huge impact on my thinking, Ash Maurya. He’s got a book coming out really soon called Scaling Lean. I went to a workshop of his three years ago when he first started working on this book, and he introduced this metaphor he calls the customer factory. Essentially what he’d done is codify a method for practicing everyday science, and then map lean manufacturing to a customer experience model. If you imagine your business is like an amusement park, you’ve got people lining up to the entrance when they want to use your product, and then their first experience of taking the rides. He came up with this way to measure and model the flow of different experiences through the business and optimize what he calls happy customer flow.

What was so fascinating about this is it was like an experience-based supply chain model. Since all the stuff I started doing was in developer experience, I figured out how to build a supply chain model mapping the same metaphor to software development, but rather than the process flow that we normally think of as the supply chain, I was using the software dependency supply chain with experience-based data on top of it. So how you experienced changing a particular software component, for example, and modeling it across the software dependencies. Once I figured out how to do that, since my background is in process control and supply chain optimization from the manufacturing world, suddenly everything I’d learned from lean manufacturing clicked together with everything from lean startup, that clicked together with everything I’d been doing with idea flow. It was this massive synergy of patterns that suddenly went together and were all linked together through metaphor. Whenever I discover a new metaphorical link, all of these new discoveries and ways that you can make associations just fundamentally shift. I think the major revolutions in our industry always come with some kind of metaphorical shift.

Len: You used some great metaphors in there as well, like the brain as shape toy, and customer experience as an amusement park. You sort of proved your point, because when you successfully use a metaphor, it’s a shortcut to communicating not just a set of facts, but a conceptual structure around viewing facts. In your book, you also talk about addressing the root cause of project failure in the software industry. We all see in the popular press these catastrophic software failures. One of the ones that would first come to mind for most people, at least in the west, would be the Obamacare rollout, and up here in Canada we’ve had our share of these catastrophic failures as well. So I was wondering, in the context of your concept of idea flow, what you think the root cause of project failure is in the software industry, and by extension all of industry, because it’s driven by software.

Janelle: I think there’s a few different core problems, but I’d say the one that’s more at the root would be our inability to share knowledge as an industry. We’re sharing this solution-centric knowledge with one another, and what I found is it’s not enough. The things that we really need to know in our industry are largely tacit knowledge, and they’re largely learned through mentorship. As the industry is growing and more people are getting into it, and they’re not getting the kind of education that they need in school, we end up with more and more projects with people that don’t have the skills that they need to do their jobs and don’t know how to communicate these things to management, and management doesn’t know how to understand what’s happening on the software project to make it successful. The combination of what I’m referring to as the wall of ignorance between the management world and the engineering world, and how we’re basically trying to explain and describe our problems being completely misunderstood, is one major factor. The other is just not having any kind of universal definition of better that we’re aiming for. We talk about brevity and modularity and test coverage, but all of these things are really a means to an end, and we don’t have a way to describe what better really means as the center point in that conversation. I think that’s one of the big things that Idea Flow brings to the table, it gives us a way to share our knowledge on how to do this stuff.

These projects that fail, it’s sad, especially when the taxpayers get stuck with the bill for mismanaged projects from people running things that don’t know what they’re doing, when that knowledge of how to run a successful software project is very much knowledge that is within our industry. If we could do a better job at sharing our knowledge, and even taking responsibility for public service based projects and potentially running these things as open managed projects by the industry, as opposed to the government having no idea how to build software and then running these broken software projects, it’s tax burden that is completely unnecessary. We can solve these problems. It’s not that software isn’t difficult, it’s that sometimes the failures are so unnecessary, like healthcare.gov. If we ran healthcare.gov as an open source project, I think things would have turned out very differently. We could have had the thing happen for free, basically based on voluntary support, because it was something that’s important to the people. I’ll bet you people would do a good job at managing that project just because a lot of people care.

Len: When you talk about the wall of ignorance between people doing software development and managers, from conventional management perspectives there are so many things about software development that are just new and counterintuitive. If you’re a typical manager, and I’m going to stereotype negatively here, you want to have more people underneath you. “I’ve got 10 people underneath me,” “well, I’ve got 100, you loser,” as would be the talk over the bar. But in software, it could be that having more people is worse and actually lowers productivity and the quality of the work. A person just sitting there thinking might be way more productive than a person typing, and in a very straightforward way, less is more. You want the smallest code base you can get, not the biggest. A manager might brag, “well, my project has eight million lines of code,” and you’re like, “well, mine only has 10,000.” But it could be that what you’ve achieved with those 10,000 lines of code is superior. So a lot of the ways people measure success are out of alignment with the ways we ought to be measuring success.

Janelle: I was just thinking in terms of management, I haven’t really run into any managers that were concerned about trying to measure lines of code as a measure of progress. I think we’ve moved past that era. What I see happening more, to the first problem you brought up, definitely, is not realizing the impact of adding people to the project, or assuming that you can replace one developer with another developer and not realizing the learning curve and the effects of familiarity on a team. Part of the problem I think is back to a metaphor of technical debt that has us thinking about the problems in terms of an interest rate, this predictable stream of interest payments over time. We think about, “oh, we’re paying 10% interest, 20% interest,” and it’s this steady predictable thing. It creates the illusion that we can afford more people with the problem and distribute the cost across more people, when in actuality what’s going on isn’t a problem with a predictable increase in costs, it’s a problem with chaos and a loss of control. That metaphor is failing to explain the true nature of the problem.

I realized this when I was in a business coaching session with Keith Cunningham. I was talking about technical debt, and none of these people in the class knew anything about software, but I was trying to explain how technical debt was such a bad thing. The response was, “well, that doesn’t seem so bad.” And I’m like, “what? Don’t you even want to know the interest rate or something?” What I learned in that world was the way these guys do math and make decisions at the investment level. It’s like, okay, we got revenue minus cost equals profit, and our goal is to raise profit by 10%. Well, how are we going to do that? You have to come up with an investment strategy of how you’re going to invest money in all these different buckets to make this prediction come true. What I realized in this class was that what makes investment decisions more difficult isn’t an increase in cost, it’s a reduction in predictability, and that chaos and the loss of predictability is much scarier than an increase in cost.

So when I started talking to management, I started framing everything in terms of a risk-based decision, as in, the deadline will be here either way, and the decision is about where we want to be when that deadline gets here. As soon as you start negotiating things in terms of time, you get back to that metaphor of how can we throw more people at the problem to make it go faster. The other thing I still see is people thinking about developers like a commodity resource. What’s fascinating is when you look at the effects of a loss of familiarity on the team. I have one case study in the book I did with this team that was an awesome team, but basically it was post-Exodus phase where all the original developers left, and then they got new management in which brought in some great people, but they had this code base that nobody understood. The lack of familiarity cost 80 to 90% of their time spent figuring out what to do. The cost when familiarity walks out the door is insane. A lot of rewriting our software is just to reestablish familiarity, because we can’t work when we can’t relearn the system, and you just get stuck in that state of 80 to 90% friction. When we’re talking about interest rates, you don’t think about stuff that’s taking 80 to 90% of your capacity. It’s unreal when you start looking at how much time we waste on all these problems.

Len: It’s interesting, you talk about technical debt getting us to see as nouns what we should be seeing as painful verbs. I really like that, and I was wondering if you could explain a little bit more about what you mean by that.

Janelle: This goes back to the metaphor mapping thing. We’ve got different metaphors that we map in our brain. We’ve got objects, which are basically thing patterns. We’ve got spatial relationships and context type patterns. And we’ve got process patterns, or things that happen over time. One of the things I realized is that technical debt is a noun. The effects of it being a noun mean that we look for things that are noun-like in our experience.

Generally we look at, okay, so this part of the code is this technical debt thing, and this is a painful technical debt, a low pain or a high pain, but it’s all one dimensional. We bucket our experiences in terms of high pain and low pain technical debt. But idea flow is a process of understanding and extending the software, and so pain occurs in the context of a process. Once we shift from a thing pattern to a process pattern, suddenly we start seeing our pain in terms of a journey.

We’re in these situations, we make these decisions to navigate around obstacles, and have to dig through different areas of friction and break down constraints, and you start to see the problem-solving experience and the true complexity of what’s going on, because we can start relating to journey metaphors, things that happen in time, as opposed to just one-dimensional things. If you look at the patterns in my book, they’re patterns of mistakes and patterns of causes of troubleshooting time. They’re not like any patterns we have in our vocabulary at all. They are patterns in development experience that I didn’t start to discover until I shifted my foundational way, started thinking about pain as a process, and what were all the factors along my problem-solving journey that ended up affecting my pain.

Len: I’ve got one last question about your book. For someone listening who is or will be managing a software project, how can they use the concept of idea flow to improve their work?

Janelle: One thing I’d say is that the techniques I’m proposing in my book need to be developer owned, in that the development team needs to take responsibility for identifying their problems, understanding what they are, and figuring out how to fix those problems. Learning how to do that and discovering the right problems takes time. If we don’t allocate time to figure out what the right problems to solve are, we’ll inadvertently end up solving the wrong problem.

If management can agree to let the development team work on the most important problems to solve, whatever those might be, and the development team agrees to gather data to identify what the biggest problems are and then share the things that they’re learning with management, we just set aside capacity to do that, and that becomes the contract between management and development. Then you can start working your way to a better place, shifting that ownership of making those decisions and solving those problems to engineering, and we can start steering our projects.

We talk about the importance of empowered teams, but it’s not just about self-organizing and figuring out what we ought to do, because we’re all too busy to do that, so we shortcut all the structural things and do what we need to do right now and worry about all the process stuff later, because we’d much rather write code. So I think we need to have that structure, and it’s worth putting some time into designing our organizational structure more like architecture, and start creating more human systems architecture roles, if you will. I’ve also got some diagrams of modeling using software as a metaphor for human systems design, and some of the design problems in our organizational structure that cause pain. I think using that as a template, even if you take absolutely nothing else from the book, that one change will make all the difference in the success of the project.

Len: You’ve got the book and you’ve got these great ideas that you want to spread. What are your next steps?

Janelle: Wow, I’ve got so many next steps. Right now I’m doing a speaking tour with No Fluff Just Stuff. I’ve got a five-talk lineup, breaking down these problems of how to do data-driven software mastery, and then the organizational side, how to build a learning organization. I’m a very firm believer that you just get up and do it anyway, and you don’t grow without stepping outside your comfort zone, so I’m learning my way through it. This book took me five years to write, rewriting things over and over again and failing to communicate, because all this stuff is really abstract. I can iterate a lot faster on stage too, I found.

The thing I’m working on right now is building a community at Open Mastery around these ideas, which is an industry peer learning network focused on data-driven software mastery. For companies and individuals that are interested in trying out these ideas, I’m working on spinning up local communities where we can start implementing these practices in our organizations iteratively, then coming together in a local community group and talking about lessons learned, codifying what we learn into patterns and principles. We’re building a new vocabulary of patterns on Wikipedia, we’re hanging out and talking over Slack, we’re writing blogs about it. My goal is to lead an effort in learning how to learn together with the pain on center stage. There’s so many problems in our industry with broken feedback loops between the education system and our economic system, and between management and engineering. If you start looking at a lot of the problems and pain in the world, it all comes back to broken feedback loops. So what I’m trying to lead is an effort in learning how to learn together as an organization and as a community and as an industry, and hopefully, if I can get this going, as a species. That’s kind of what I want to do with my life, and I’m hoping that I can find a group of people that are interested in learning along with me, because it’s a whole lot of fun, but it’s a whole lot more fun to do it with other people.

Len: I’d like to ask you one question about Leanpub, and that’s why you chose Leanpub for your book, and whether you intend to keep it on Leanpub permanently or are looking for a publishing contract.

Janelle: So, your first question of why Leanpub. Being in software development, and Agile and lean being so central to my life, I live and breathe iterate, and having a platform that was really easy to get started with meant I didn’t get in my own way with all the kinds of excuses I would make of not doing this. I remember first reading the Leanpub documentation and how writing your book in Markdown without all these formatting things was a feature. At first I was upset that I didn’t have all these fancy tools, and then I started to realize, “oh, I get what this means now,” of how much I get in my own way from not writing my book because I’m sitting there fussing with what things look like, as opposed to just writing the material. You focus on writing your book as opposed to anything else. And I can easily publish drafts and get feedback on things, which I very much needed. My book wouldn’t be anywhere near what it is today without five years of feedback, and some of it not the nicest feedback that you want to hear, but that doesn’t mean it’s not what you need to hear.

As for a publisher, I’m working with O’Reilly right now. I ended up taking my book and splitting it into two because I just had way too much content. I’m 80% of the way through a second book, which my tentative title is How to Build a Learning Organization, which is the learning framework side of Idea Flow. So I ended up focusing Idea Flow just on, how do you measure pain? One of the things that I’ve learned in trying to sell these ideas is that I’ve got a two-sided audience, one of them being developers and the other being management. So my second book, I’m going to focus more on looking at the problem from a top-down standpoint of what managers need to do to support engineers, and how do we start building an integrated organizational learning process so we can create a steering wheel of sorts at the organizational level, which is a hugely complex problem, but I’ve got an initial set of blueprints as a starting point. Then I’m using Open Mastery as a vehicle to get the community to take ownership of getting from point A to point awesome. I’ll keep my book on Leanpub probably as long as I can, but my main goal is trying to get my book in front of as many eyeballs as possible more than anything else, and working in partnership with a giant marketing machine has its advantages.

Len: For us at Leanpub, when someone starts their book on Leanpub and then ends up going with a publisher, almost nothing makes us happier. Part of our goal is to open up that time when a book is normally hidden in stealth mode on a person’s hard drive. I guess my last question is selfish. Speaking to someone who thinks so much about improving processes, if there were one thing that you could ask us to build or to improve about Leanpub, what would that be?

Janelle: Probably the thing I feel like I miss the most, that I’ve been trying to make up for in other ways, is the ability to build a community around the book that’s integrated with the tooling. I know there’s email lists set up, but when people buy the book, unless they check the little box of share their email, it’s really hard to create relationships out of that. I’ve tried to come up with some other ways to work around that, with signups through other kinds of tools to collect email so I could stay in touch with the community. But that’s probably the big thing, getting the community of people around the book talking to each other, as opposed to just this one-way communication. I realize there’s discussion comments and stuff, but it just has a very different feel to it.

Len: You’re the second author I’ve interviewed just in the last couple of months to talk about community when asked that question, so that’s a very strong signal, and it’s something we’ve been thinking really hard about. From our perspective, we’re building the world’s first library of in-progress books, and there are a lot of interesting questions around, for example, reviews. What do you do with a review of an unfinished book when a new chapter is added? There’s an interesting aspect of time involved in building community around an unfinished thing.

Janelle: I can see that being a really difficult challenge. I think about some of the early feedback I got that was just awful, stuff that you’d never want to make public, like “I have no idea what this book’s about or what you’re trying to say, you just need to rewrite this whole thing from scratch, it makes no sense.” Feedback like that, you don’t really want to be big and public, that you can never get rid of. So I think there needs to be some privacy around certain aspects of feedback. I don’t think you’ll get the kind of feedback you need in a lot of cases unless it’s private. It’s an interesting challenge you guys have.

Len: That’s really interesting, I hadn’t thought of that before. One of the processes that’s pretty commonly used by Leanpub authors is to put their email address in the introduction to their book and say please email me, and that is almost always a private communication. But I hadn’t put it together that one of the reasons it works so well, clunky as it sounds, is that it has this value of being private.

I want to thank you very much for your time and for all your great answers, and for your book as well.