Patrick Kua — Retrospectives, Tech Leads, and Self-Publishing
Patrick Kua is a technical leader and agile coach at ThoughtWorks and the author of the Leanpub books The Retrospective Handbook and Talking with Tech Leads. In this interview with Len Epp, he talks about his path into software, learning German in a year, systems thinking, the practice of retrospectives, the shift from developer to tech lead, and his experience self-publishing.
Len Epp: I usually like to start these interviews by asking people for their origin story. How did you first become interested in becoming a developer, and eventually a tech lead?
Patrick Kua: I fell into industry relatively early. I played around with some Commodore 64 type stuff as a kid, but I never really got into the whole geek developer from very young. Then in high school we got introduced to computers pretty early on, and I had a really great teacher who was teaching us about software development, and I really got my mind blown around the stuff that you could create from nothing. We were asked to develop a film rental system using, back then, Microsoft Access of all things, things I would never ever recommend right now, and fell in love with the things that you could actually create.
That led on to a natural path of me wanting to study more about this at university. I did a double degree in commerce and IT — double degrees are really popular in Australia, which is where I studied — partly interested in the business side as well as the technical side. After university, I went to start work for Flight Centre, whose headquarters are in Brisbane, and then joined shortly after Oracle, who had an R&D centre in Brisbane. There I was really lucky because the team that I was working with were very early adopters of extreme programming, and this is in the very early days of XP, the early 2000s, where we were playing around with the first continuous integration server, CruiseControl, which was actually built off CVS, where we were introducing unit testing and JUnit. For me it was just such a really interesting contrast, because Oracle is a behemoth and there’s probably a lot of very traditional software practices, and we were a very small part of it trying to change the way that we’re doing software.
This naturally led on to where I ended up joining ThoughtWorks, whose chief scientist is Martin Fowler, one of the agile manifesto signatories. I think this year is actually the 11th year with ThoughtWorks.
Len: Have you been working with them in London the whole time?
Patrick: I started with them in Brisbane in Australia. I transferred over to London, I think it was about 2005, where I’ve been based for probably the last nine years. But being a global consultancy, we ended up pretty good actually at shipping people around the world if they want, because it keeps our culture very consistent, and it’s a way for us to build our own network and get exposed to new experiences. So I’ve spent the tail end of winter in Calgary once, which was a beautiful city. I’ve spent about four months in India, amazing country. And I’ve spent probably on and off a whole year in total with ThoughtWorks in Germany.
Len: I read a blog post on your website about your year in Germany and becoming fluent in a year. It was quite impressive, and I was wondering if you could say a little bit about how you approached that year-long project.
Patrick: I was lucky in that with ThoughtWorks after 10 years, we have a sabbatical period. You get paid an equivalent of about three months worth of time where you can choose what you want to do. I never took that gap year that a lot of people take after university. Maybe this is the time to do it. So I actually had the whole year off, which was a fantastic opportunity.
If you come from an English speaking background like Australia or the US, it’s amazing how many people that you meet in Europe who are at least bilingual, if not more. I would have always loved to learn another language fluently. I’d spent a little bit of time there for work, I’d learned some German, but it was very what you might use as a tourist. I could order a beer, I could ask for the bill, I could read some things off a menu, but it’s really far different from actually living there.
So I made the choice to live in Berlin. Berlin, to be honest, is not the best place to learn German. It’s so heavy with so many tourists, and Germany’s level of English is actually pretty high, so you can get away with actually not speaking any German if you really don’t want to. I know quite a few expat people who live there for maybe three or four years and their level of German is still that rudimentary tourist level. Knowing this helped me prepare, because my motto going in was it would be very easy to fall into this expat community and only speak English. So I really forced myself to pretend that I was in a small little German village somewhere where I was surrounded by only German speaking people, and for at least the first three months I would make sure that I would be forced to speak German.
I had a really great flatmate who knew that I was learning German and was patient enough to at least speak German to me, even though it was a very tough few weeks when I first moved in and couldn’t communicate. I felt like I can now imagine how a baby would feel, in that a baby’s trying to get across a message, can’t, because they just don’t have the vocabulary, the words, and just that frustration. It’s phenomenal. I remember breaking down one evening in dark winter in Berlin saying, “can’t we just speak English? I just got to get it out of my system.” And my flatmate was actually really good with me and said, “nein.” That was exactly what I needed, which was the whole soft-hand approach, but really firm that I was going to keep doing this.
I signed up for immersive German lessons, which was really important. We did classes from about 8:30 to about 1 every day, and then normally there would be homework and field trips afterwards. That really helps provide structure and a really good learning ground to get the basics. One of the benefits of going through an experience like that is that you also meet people at a similar level. Everyone’s patient with each other because they understand they’re also learning, and you’re just as patient giving other people space, because you know that they know the words in English, but you’re struggling to find and remember what the words are.
I’d definitely recommend people get a tandem partner. It’s a concept that’s really popular in Germany — somebody who’s learning the language that you would like to learn, or who’s native in that language and who would like to learn English or another language that you can speak. We would meet maybe once a week for a couple of hours and we would speak an hour of German and then switch to an hour of English, so that we both had time to practice. The language school that I went to helped connect us around personal interests, so we spent a lot of time visiting different areas of Berlin, going to different events. It was just a really great way of meeting a new friend and having an opportunity to practice.
Len: It sounds like a really interesting idea, because usually this teacher-student relationship, especially with language, has this kind of dominance on one side and humiliation on the other. Combining two people who each know that the other one is fluent in the language that they’re trying to learn really balances that out.
Patrick: That’s such a key thing. And another tip that I’d give people is that it’s really worthwhile, if you’re going to learn something, to learn from lots of different people. Everyone has their own bias about preferred learning style, and teachers have their bias about how they believe that people learn best, and it doesn’t always work. We went through about four different teachers over the course of three months, and it was interesting for me to watch how one style of teacher didn’t really work for me but it worked for other people, and then another teacher who worked for me didn’t really work for other people in that class. That’s where it’s really useful to get exposed to lots of different teachers. It’s something that I picked up from software development as well — you have so many different people who you can learn from and each one has something very different to teach you. You may not necessarily take away everything that that person has to offer, but it does give you a different perspective.
Len: That reminds me of a line from your website where you say that you believe strongly in self-empowered teams and individuals, having seen many talented people beaten down by the systems that they work in. I was wondering if that feeling came from a personal experience you had with being beaten down in a big system, or was it something that you were fortunate enough to avoid yourself and just saw in other people?
Patrick: I consider myself pretty lucky because I haven’t worked in a large system where I’ve felt beaten down, at least for a long time. That’s maybe one of the benefits of a consultant — you see lots of different environments. What I really love is actually helping people get over these systemic things that have beaten the motivation out of people, where they’re just getting on with their tasks that they’ve been told to do, and helping them connect with the things that they really like. I’m a big believer in Dan Pink’s Drive book — autonomy, mastery, purpose — in that if you can give people a reason to engage with the work that they do, and they can develop themselves at the same time, and they have an ability to choose the things that they think will help get them to that purpose, everyone benefits. The people who are working on the tasks are a lot happier, the job will be done a lot better, so whoever that is for, be it the end customers or the business, everyone wins. I just wish that more people had that approach. It won’t always be optimal, but trying to at least have that conversation with people around, what drives you, what are you interested in, and how can we make that work for you in this environment. And I guess that’s led me to be a very independent person, which I think helped me when I was learning German — I was just doing things that interested me, and then I’d find people to help me keep engaged so I still had that purpose.
Len: You brought up the idea of a system, and I’ve noticed this in your writing in a couple of places. You recently had an article about why expert developers can sometimes make the worst tech leads — how someone can be extremely talented at a certain kind of system like programming, but then the system that sits on top of it, how it fits into the larger scope of things and the other people that you’re working with, those talents are not the same. Could you explain a little bit about that?
Patrick: I’ve done a lot of reading around systems thinking. The Fifth Discipline is a really great book, as is, I think it’s Thinking in Systems. We’re taught in a certain way, through the way the education system runs, about being very scientific about things and boiling things down to singular causes and effects. And systems thinking teaches you to see things in a different perspective: depending on where you draw the boundaries of a system, there are different perspectives, and therefore different motivators and different characteristics. When we work in a software environment, you have the local system of maybe either the software system that you’re building or your team that’s working on it. But there’s a broader organisational system in which it’s working.
One of the challenges working as a consultant is you’re often brought in to try to shake up a system. You want to create an empowered environment, so you want to carve out a safe space for people to experiment, to gain their autonomy and confidence and also then deliver. And there’s a bit of a challenge there because what’s good for individuals doesn’t always work for the whole system, and there’s a trick in synchronizing the rate of change. One interesting thing that I see a lot with teams that adopt a fully extreme approach to agile development, where the organization is a very big lumbering behemoth, is that people won’t fight to get the surrounding system around them changed. So we have this saying, which is change the system or change the system. What that means is that people will get frustrated without any change in their own system, so they’ll choose to move to another company. They change their environment, and that’s another way of them changing the system — which definitely is a consequence for companies that are thinking about moving in a very different cultural way from what their current system is. So it’s quite hard, because we’re trying to also appease the people that we work with as well as our customers, who may be quite different or in different circles.
Len: I really like the observation about how we often try to take reductive causal frameworks and then apply them to the complexities of systems, like human systems, that they don’t quite apply to. I’ve got a joke, which is, it was an apple that fell on Newton’s head, not a person. If a person had fallen on his head he would have freaked out and jumped up and had all sorts of different thoughts, none of which had anything to do with a simple explanation of how things move in the universe. Since the Enlightenment there’s been a problem where people have tried to take the successes of the sciences and apply them to areas where the systems are actually different.
But I wanted to ask a specific question. The Retrospective Handbook is about retrospectives, and this is in particular a way of managing people within these systems and helping them to improve. Could you explain to people listening what a retrospective is and why it’s so important?
Patrick: In most businesses, the pace of change is really rapid and people expect things to happen. And often there is the assumption that everyone is doing the best they can, which I also believe — people are given goals and they’re all working towards that. But it’s hard to improve in that work environment. For me, the retrospective is a timeout from your normal day-to-day work environment of all these things going on, all these priorities, all these things that are changing, and creating a bit of space to actually reflect. The power of a retrospective is this meeting where you bring people who are working perhaps on the same goal together, where they can talk in a bit of a safe environment about what things they could change or improve. A lot of the key outcome of a retrospective is really about the small actions that they might take to slightly experiment or to improve something. I don’t think you necessarily need to change everything. But the idea of a retrospective is about change, and that safe environment to talk about maybe what’s gone less well, and what are the things that have gone well — maybe can we amplify them. It creates that space for a whole team to come together, which a lot of businesses don’t really make time for, and so they never really take the opportunity to understand what improvements they might have.
Len: And is a retrospective something that happens continually throughout a project, or is it something you do at the end? There’s this terrible term of postmortem. This sounds like it’s different from that, right?
Patrick: You’re spot on, in that a postmortem is after everything is dead. So you can’t really do anything to change it. The idea for a retrospective is to keep these short, to do them regularly. I encourage groups of people to do them maybe once a week or once a fortnight, and to try to take small steps towards something. I’m a big believer in small steps can lead to huge change, and these small experiments give people an opportunity to review them the following week and maybe change them back if they didn’t go so well. It’s a really easy way to introduce new things because it’s low risk for people. If they know that there’s a way back, people are more likely to try something out.
Len: You write in your book about the retrospective prime directive, and I was particularly interested in how important it was in your experience that this is read out explicitly at the beginning of a retrospective. I’d like to actually read the sentence and have you explain why. Here goes: “Regardless of what we discover, we understand and truly believe that everyone did the best job he or she could given what was known at the time, his or her skills and abilities, the resources available, and the situation at hand.”
Patrick: Firstly, I won’t take credit for this, because I’m standing on the shoulder of giants. This actually comes from Norm Kerth’s original book about project retrospectives, which were also considered more something you might do at the end of a project. This statement is a really good example of that difference between a retrospective and a postmortem. It’s actually really important, particularly for people who’ve never done a retrospective before. I’ve worked with teams that have been working a couple years and they’ve been doing whatever they do, nobody’s ever really asking them about what could they change, how could they improve things, and that ability to influence their working environment. This is a really great way of introducing the concept of safety: we aren’t here in a retrospective to point fingers and hang people up to dry. We are here to really believe that everyone was doing the best they could, and to put our mind on the system that we can influence, rather than pointing fingers and blaming people, because that doesn’t really improve the system. For people who’ve been part of retrospectives for a while, they understand this. But particularly for new organizations, and what I would say is maybe more conservative teams or cultures where change doesn’t happen a lot, it’s a really powerful statement to open a retrospective and create that safety. My rule of thumb is that people should use this if they’ve never run a retrospective with a team before.
Len: It’s interesting you talk about safety, and in your book you also talk about bias. I was wondering if that’s related to the importance that you place on independent facilitators for retrospectives.
Patrick: I have a very strong memory of going to a client where a retrospective was run by a very, I would probably describe, controlling project manager. It was my second week with the client, so I sat in the retrospective — I didn’t have that much to offer — and I just watched how that project manager would take the whiteboard marker, point at somebody and say, “okay, what went well last week,” point at another person saying, “what didn’t go so well.” And it was really interesting, because the responses from those people were pretty much one-word answers. There was no elaboration, no story, no context given to those points. For me it was such a contrast when I’ve seen independent facilitators, who don’t have any other agenda, who have no power relationship with the participants — it does really create a good safe environment that people can talk a lot better in. It’s a really powerful concept to have an independent facilitator, and I think it really increases safety.
Len: In Talking with Tech Leads, your second Leanpub book, you write that the experience you gain as a developer does not prepare you for the responsibilities of the role of a tech lead — which you define as someone who is usually still coding and participating in the creation of the code, but has also been moved into a position where they’re steering the ship. From your experience interviewing all the people for the book, what insights do you have for people who’ve newly moved into that role, or might be worried about being pushed into it, and how they can shift from being a developer to being a tech lead?
Patrick: It was really interesting talking to so many different people, because when I set out to do the book, I didn’t really have an idea about what responses I might get. So the book was intentionally structured so that I posed the same sorts of questions to people. And what emerged was interesting themes — people had different perspectives, or were at different times of their career, earlier or later in their phase, and so there were some natural themes that developed.
For people who are very new to it, who I call the novices, there’s a huge shift from what you do as a developer to suddenly leading a team. As a developer you’re normally very focused on how well your code is structured and how nicely everything runs, and you don’t really need to worry too much about the people on your team — that’s somebody else’s problem — and you don’t necessarily need to worry about where work comes from and managing business people. Then when you’re suddenly thrust into this role of being a tech lead, you’re trying to also write a little bit of code, but at the same time you’re pulled in lots of different directions. That’s quite a natural state. So my first word of advice for people in that role is to not panic, because it can be really overwhelming. Time management skills are quite useful for trying to prioritize through some of this stuff.
Also a big jump is, as a developer, you feel like you have a lot of control over the code that you’ll end up writing, and as a lead, it’s difficult to give up that control. Back to that project manager who’s really restricting what people say — letting go is really hard. As a developer, you’re really opinionated about how something might be written, and as a lead, you still have to have some guiding principles and you have some say, but you have to be okay that the method or the structure won’t be written exactly how you would have done it. In fact, it may actually be better for it, because somebody has a different approach from you for solving things. So there’s a big shift mentally when developers move into this role, of suddenly realizing that it’s okay that problems get solved, but in a different way, and that’s okay.
Len: On the subject of publishing, you actually turned Talking with Tech Leads into a print book, and it’s for sale, I think, in three different regions on Amazon. Could you explain a little bit about that experience of turning an e-book into a print book?
Patrick: I’ve been a fairly early adopter of Leanpub, and it was actually with The Retrospective Handbook that I was trying to turn into a printed book as well. So I was asking after a print-ready PDF version. I use the CreateSpace publishing platform, which is part of Amazon, and they self-publish a printed book on demand, but they require a whole bunch of preparation, like a PDF version that is printable. It’s quite an interesting process moving from an ebook format to a PDF that is print ready, because there’s lots of little formatting differences that make a big difference in a print version. A simple example is the alternating page numbers from left to right — you want them to be on the outside of the book, which when you’re on a single screen doesn’t really matter. The same thing with the margins: when it’s printed, you want the margins that are going to be bound together a little bit deeper, so when somebody opens the book it looks nice.
Leanpub has been really awesome at actually picking up feedback. I was generating lots of feature requests for understanding what a print-ready PDF could look like, and then I would do a test run with Amazon and give feedback, saying, “okay, well the test copy, now that I see it in real life, needs some adjustment.” I’ve been a huge fan of Leanpub from the very beginning because it was a really great example of lean flow in action — I was creating a demand and your platform was responding to that as I was getting feedback from it, and I wasn’t quite sure what I really wanted either. It was really useful to have those really fast feedback cycles.
Len: Yeah, I remember seeing all the interaction between you and Scott, one of Leanpub’s co-founders, during that process. You really pulled a lot of that out of us, and we were so glad when someone arrived on the scene and was like, “I want to have good output to make a good print book.” Are you happy with where it is right now?
Patrick: Yeah, absolutely. What was really interesting was that comparison between the first draft of The Retrospective Handbook and then preparing the Talking with Tech Leads print version. I don’t think there was any feature request that I had to make at all. In fact, for me the difficult part was actually the wraparound cover, which is something that you don’t need to worry about in an ebook world, and is exclusively to do with print layout. You need to think about what goes on the back, what goes on the spine, and try to get the formatting right based on the thickness of the book. You have to print it really to see what the end result is. But from a platform perspective, it was exactly what I needed and I didn’t have to do any extra changes.
Len: I read that you used a copy editor, and it might have been even the same person for both of your books. Can you say a little bit about what that experience was like?
Patrick: I found a copy editor through a colleague of mine, actually. With one of the very early drafts of The Retrospective Handbook, I’d asked some people to give me some feedback on it. And one of the early bits of feedback is that you’re really too close to your writing. This is probably one of the dangers of self-publishing: you decide to go down the “I can take care of everything” route, I can do all the grammar and checking, but actually that’s not my strength. I would actually say that’s probably one of my weaknesses — I tend to speed read, so I tend to skip over things that other people would notice. There’s a lot of value in working with an editor.
So I worked with Angela Potts, from Virtual Editor, and she was based in Cambridge. One of the really great things is that we still physically haven’t actually met. We met over email and then we did some Skype sessions, and she worked very virtually as well. The Leanpub process was actually really useful, because I could just share simple text files with her, and with enough simple syntax she understood how to start editing some of those files, and we could simply trigger draft copies really rapidly. So that was a really useful process of sharing the book and getting fast iterations over the copy.
Len: So you actually gave her direct access to the Dropbox folder you were working in?
Patrick: Yeah, absolutely. And that works really well. For the first book, it was just more copy editing — I already had the structure in place. And then our relationship evolved a little bit more, and she helped me with a bit more of the structure for the second book, about how to make it a bit more interesting rather than just a whole series of interviews.
Len: I noticed that both of your books have really good covers, and I was wondering if you made them yourself or used an external service. That’s one of the questions we get all the time, because a great cover really does make a big difference in the confidence that people have in a book, especially if it’s self-published or maybe even in progress.
Patrick: So I designed them myself. I wasn’t sure about this to begin with. I was also thinking about going out to the market, what some other authors have done about trying to get somebody to pitch different ideas for a cover. But for me, it was a fun creative experiment. My goal was to create something that was a little bit eye-catching. It could be a lot better, but it’s also the skills that I had.
There’s a couple of websites that show really great book cover design, and I looked around at a site that showed like 50 or 100 of them, thinking about what themes and colors and patterns I might take that I could reproduce in open source tools. I use GIMP for the actual file creation. I ended up coming up with a couple of different designs, and I also did the whole lean testing as well. I generated quite a lot of different variants, and then I tested them against some of my colleagues and close friends to see, “do you like A or B better, what do you think about this color, how’s these patterns.” I ended up settling on the style that you see on The Retrospective Handbook, and then I wanted to continue that theme with the second book.
That was a little bit more interesting, because it was really important for me in Talking with Tech Leads to get a diverse sample of people. What might be surprising, which I haven’t really written a lot about, is that I’ve managed to get about a third of the people in the book to be female tech leads. And it’s really hard to get female developers, let alone people in leadership roles. So when I was designing the cover I was very conscious about making sure it wasn’t a male or a female looking tech lead, so I’ve tried to go with a gender neutral looking icon, which is what my design intentions were. I don’t know if it’s come through.
Len: Obviously you’re very hands-on with the scope of the entire project. Had you considered going with a conventional publisher to begin with, or was that just something that never occurred to you?
Patrick: For the first book, I had thought about going to a publisher. But I was just really surprised at how rapidly it had gone through. I know a lot of people who’ve written books for the Prags and O’Reilly and things like that, and there’s trade-offs. I wanted to go down the whole self-publishing route to see how easy or hard it was going to be. And I’ve been really happy with the reach of the platform and the ease with which Leanpub makes it easy for people to buy and distribute those books all over the world. I might go through that process, but for me, the editor is probably the biggest value that one of those traditional platforms can bring — they have a strong network, and probably around a consistent theme, so if it fits in with an existing series like the Martin Fowler Signature Series, that probably makes sense. But I’ve been very happy with the whole self-publishing route. The only thing that I’m thinking about is how better to market the book, but I think that’s part of the self-publishing process — what can you do to get the book out there.
Len: I guess my last question would be, if there was one dream feature that you could have us build for you — one thing that was either missing, or that looking back or forward, you wish we could give you as part of our process — what might that be?
Patrick: Ooh. It’s a really great question, and to be honest I don’t have a good answer. One of the things I really like about you guys is that if I want something, I feel that I can post something on the forums and get a response, and have somebody either say it’s on the roadmap or we’ll work on it. That’s such an amazing opportunity of the platform. So I can’t really think of another feature that I’d really like. Otherwise, I would have asked for it by now.