Alan Richardson — Software Testing, Agile, and Self-Publishing
Alan Richardson is an independent test consultant and trainer in Selenium WebDriver, exploratory testing, and technical testing, and the author of the Leanpub books Dear Evil Tester and Java for Testers. In this interview with Len Epp, he talks about his career in software testing, the shift from waterfall to Agile, why projects fail, and his experiences as a self-published author.
Len Epp: I usually like to start these interviews by asking people for their origin story. How did you first become interested in software, and eventually in software testing?
Alan Richardson: I pretty much grew up with computers, because the home computer started when I was about 12. We got a home computer and computing was one of the things I was really good at. So I went to university to study computing. My final year project was where I tried to pull in all the knowledge that I was really interested in. It was a COBOL interpreter, because we still did COBOL in those days, and a Jackson Structured Programming Diagrammer, because we were trying to construct our programmes without actually getting our hands dirty and doing any programming. So I combined the two and created a diagram tool that I could debug COBOL applications in.
Then when I left university I started writing test tools for a testing consultancy. Because you’re working at a test consultancy you start doing testing on site, because they can make more money out of you that way, and so then I started learning about testing. I read as much as I possibly could so that I could be a test consultant. Since then I’ve done testing jobs as a tester, test manager, head of testing. At one point I decided I deliberately need to learn how to work within an agile project and test web applications, and I geared a move towards that. Now I’m independent, primarily around agile, automating web apps, APIs, helping people improve their technical testing process. So I’ve pretty much just grown up doing programming and doing testing at the same time. Even when I’m managing I’ve kept my technical skills up to date, because for me, we’re software professionals, so programming, testing, it’s all lumped into the same thing, and that’s what I like doing.
Len: At what point did you start reaching out to teach people about testing and to train them?
Alan: That was probably a side effect of talking at conferences — you extend that into doing tutorials. I started talking at conferences simply because I was hearing so much rubbish at conferences that I wasn’t really prepared to pay to listen to it. So I was only going to go to conferences if I was talking at conferences, then I could put my point of view across. The more you do that, the more people ask questions, the more you hear that there’s gaps. And because you move into management, you get in the habit of training your staff, pairing with your staff, improving people’s technical skills, and as a side effect you start putting more material out there.
Len: What made the rubbish rubbish?
Alan: Computing continually renews itself. There’ll be people listening to this that have never seen anything except agile. But in the world before Agile, when it was all waterfall and very structured, there were a lot of people pontificating on how to do things, and we had projects that would go on for two or three years and never release anything and get cancelled. But people still knew how to do testing under those environments. Very structured processes, we have to document everything, everything needs to be at the level where anyone can do it. Specific phases, specific templates, specific documents — it wasn’t really about the skill sets that people needed, it was about the process that sat on top. I’m much more focused on the skill sets, the approach to testing that individuals need to take, and how we coordinate and fit ourselves into processes in very unique fashions rather than hugely structured processes and very formal ways of doing things.
Len: So there was a parallel in the testing world of the shift from waterfall to agile?
Alan: Even within the waterfall projects, we wanted to have testing add more value and avoid the split between testing and development. With waterfall, it’s very much a building of developers, and testers in another building, and communication entirely by documents. We would be building things like test scripts just to keep ourselves busy, because we knew that at some point the software was going to drop and we had to test it, and it would be filled with issues, and if we missed them we’d get blamed. On a bad agile project now you see people building the software for four and a half days and then passing it over, expected to be tested in half a day. The same thing would happen on waterfall: people would build it for two years and then drop it and expect it to be tested in three months. You get similar percentages — bad processes don’t have the communication that people need in order to make them effective.
Len: My last interview was with David Greenlees, who wrote a book called Software Testing as a Martial Art. He tells this great story about his first job, testing on a government program, where he had to document when he went to the bathroom because of the time it would take. It seemed like in those olden days, people were trying to put an industrial management model first and then stuff software development and testing into it.
Alan: It’s hard to say exactly what the rationale was. A lot of the time with any process you have managers that don’t know how to do the work. So what they know how to do is manage. If you’re trying to extend the time it takes to build a project, you want to get it right, so you spend a lot of time in the design phase and the requirements. But you’re not putting anything out into production or testing because it’s not fully finished yet, and it just takes a whole bunch of time. So people want to protect the process. Make sure everything is connected. Make sure the requirements are listed into the test cases so that you know exactly when things are done and when they’re not. If you take a long time to do it, it doesn’t work as effectively.
Len: You studied computer science at university. If you were starting out now, do you think you would go to university again?
Alan: I don’t think I would probably go to university. I would still study computer science. There is so much information out there now, some of it free, some of it you have to pay for. The books I studied and still study — I get a lot of value out of all the old books from the 70s and 80s. Some of those are really hard to find, but some you can get hold of really cheaply. They still add a lot of value because they were essentially trying to think through the process of software development. When you read those you see them saying things like, well, we tried this, we think this might be an issue here, and there’s another way of possibly doing structured programming, and we tried this way and tried that way. We’ve forgotten some of the thought processes now; we’ve codified them into “thou shalt do it this particular way.”
But all the languages are free. You could buy a computer for like 100 quid that is way more powerful than we ever had at university. It can run C++ compilers, and you’ve got programming languages in your browser now. I see people writing emulators in JavaScript for the computers that we had when we were younger. It’s an amazing amount of power, an amazing amount of knowledge.
What’s probably more important now is that people build a portfolio online. You can build free blogs, you can put all your code in GitHub — there’s ways of communicating to the outside world what you have been learning that they can pick up on when you go for a job. Rather than spending five years as I did at university, if you spent five years building stuff in lots of different languages, trying to solve different needs, you’re studying computer science as you do that. When I’m doing testing, when I automate work, I still draw on the lessons I learned from creating compilers and interpreters. I’m still building abstraction layers, which are essentially verbs from the programming languages. That also ties into the adventure games that I used to write and play as a kid. The text adventure games — when you’re building maps, you’re exploring an environment, you’re writing a command line interpreter that deals with natural language, you’re parsing things even in a very crude way. Those are computer science techniques that we still use today.
Len: Pardon the tangent — I like adventure games very much myself. Do you still play them?
Alan: Periodically. At the moment I’m writing a multi-user dungeon adventure game that I can use for training people in testing.
Len: How does that work?
Alan: It’s a MUD, it’s got a very simple GUI. But over the course of the training, the GUI starts to degrade, so you get less and less functionality exposed by the front end. When you come in, it will say you’re in this room, you can go north, south, east, west, you can click on the links. Then the links go away. So you have to either have remembered the URLs to use, or you have to know the techniques for navigating around. You have to look into the source to inspect it to see what IDs there are for the things that you can pick up. There might be stuff hidden in the source code that tells you whether it’s a good thing to pick up or not. There’s an API that underpins it, so eventually it forces you in the training to drop down below the GUI and start interacting with the adventure game just through the API. I’m going to be starting to use that in my training courses when I do them face-to-face for the exploratory testing work.
Len: I was wondering if you have a war story you could tell us — the most difficult testing job you ever had, or the most difficult problem you had to overcome in your career so far.
Alan: If I think back to the worst project I’ve ever been on — I’m not going to name company names — when we went through the interview process I said, “You’re going to definitely need at least two people to do this work.” So when I started on the job it was just me. What they wanted me to do was build a performance test harness for some code, but they wouldn’t let me see the development code because it was top secret. I had to essentially use their Java libraries without seeing the code. They would just give me the jar files and not tell me what they were doing. I used a lot of my compiler creation skills in order to build a front end for that. But when things went wrong I had no ability to debug it because they wouldn’t let me see their code. Then it got to the point where I thought we’re finally going to work with the development team, but that was the point at which they were starting to outsource all their testing to India, and the reason we were starting to work with the development team is because they wanted to get rid of us and they wanted that knowledge transfer. That was also one of the environments where we were in an entirely different building from the development team and we had to push hard to actually be co-located. So they eventually moved me over so that I was sitting in a corner, in the same building, but far enough away from the developers that they wouldn’t notice I was there.
Len: Why is it, do you think, that there was, or perhaps still is, this desire to keep developers and testers physically separate?
Alan: They’re almost in different departments. You’ve got the software development department and the software testing department. Different budgets, different managers, different hierarchies. The developers don’t really get to speak to the users because they get documentation dumped on them from the analysts. The testers are expected to speak to the users because they can bridge that. No one wants to speak to developers because they speak tech. The testers can speak business, and hopefully a little bit of tech so that they can bridge that communication gap. It’s really hard to know what the thought process around that was. But for me, it’s hard to know what the thought process behind an open plan office is, where people are sitting there and you can hear everything and you can’t get any work done because it’s so noisy. There’s a lot of decisions that get made in the business world that I don’t understand.
Len: It’s curious — the open plan office was, I think, in some business literature presented as an opening up, but from another perspective it’s a Benthamite panopticon where everyone can be viewed all at once and you can make sure that all your beavers are busy beavering away. Work becomes a performance where you try to look busy all the time, because especially for things like software, a lot of the work is happening in your head. That kind of observational management practice doesn’t know what to do with someone sitting there thinking.
On the topic of what things look like to people, you’ve got a video on YouTube where you talk about the importance of thinking visually in software testing. Could you explain why thinking visually is so important, and why not thinking visually is such a trap?
Alan: In that video, I’m essentially talking about making what you are thinking visible to other people. A lot of people when they’re talking about thinking visually, they’re talking about diagrams or mind maps or whatever else. I’m talking about making your thought processes visible to other people, and mind maps can help with that. When I used mind maps at university it was for me to trigger my memory. A lot of times people now use mind maps more as an outline rather than something that conceptualises what’s in their head. A really good mind map works for the person that built it but is often a very bad communication tool, because it represents the mind that has created it and no one else understands that mind. When mind maps are used as a communication tool they’re much more a structured outline of stuff, but that’s not necessarily a great mind map — I built mind maps so that I could have a very concise drawing that I could put down before I answered a question, and then use it to trigger the thought processes I would use in answering.
I like to draw diagrams of graphs — paths through systems. That for me is a very visual way of describing flows through applications, and I can assess coverage from that. But the more we learn how to visualize information, we start to understand that underpinning all these visualizations is a bigger model. When I draw a graph of a system, that’s not my full understanding of that system. That’s just me describing that system as a set of executable paths. There are other things that make up that model, like requirements, the data that’s in there. That graph is just a projection of part of the model, and consequently it loses a lot of information in that projection. So I need other models that also make visible the other parts of my bigger model.
It’s like Chomsky with his universal grammar, where you have a deep structure, a deep model of the world, and surface structures, different sentences that represent that world. None of those sentences describe the full scope of the world. When you construct the surface structure, there is emphasis put on one part at the point that you’re communicating. There are things that are missed out. There are things that are confused, and we could put the wrong word in. We state something incorrectly, because of that transformation process.
So what I would like people to do is be conscious of the models that they have, and one way of doing that is to try and visualise them, because then you can start to analyse them for coverage, whether you’ve understood them, whether you’re miscommunicating them. You can look at them for gaps, for risks and issues of what you’ve missed out. You don’t necessarily need to be visual in other terms; it could be a list. A list of statements is a visualization of that underlying model that you have of the system.
Len: When you explain this to people, does the light bulb immediately go off?
Alan: Most people don’t really grab hold of that. Essentially what I’m describing is systems thinking. There’s underlying models, we have interconnected systems, and there are different ways of representing a model of that. It’s something that we essentially have to study longer term. I only ever tend to explain things in that way when I’m doing a talk. If I’m pairing with someone, what I’m really doing is looking at an individual person, how they’re thinking, and I’m trying to understand the gaps in their current thinking at that point in time. We might get them to write down in advance what they’re going to do before they do it.
We might have them write down what they are doing as they are doing it, so that we can look back and assess what they’ve done. We might, if they’ve done a couple of hours of work, try and summarise it in a diagrammatic form so that they can better review it. When you’re working on an individual basis, it’s much more targeted. You very often don’t have to explain the overall process and model.
Len: For anyone listening who might be starting out in a career in testing, what would your top bit of advice be as they look out ahead at maybe a couple of decades of work?
Alan: If they’re just starting out, they have to read everything and disbelieve everything. We’ve spent a long time writing a lot of stuff about testing, put a lot of processes out there, creating a lot of standards, creating a lot of templates. But none of that will help the individual, because they have to implement it and they have to justify everything they do. If they’re on a project and they’ve gone, “Yeah, we’re going to do IEEE 7612,” or whatever the template is, and then they start putting in all this boilerplate information that is of no value to anyone, they have to be able to justify that, and they can’t justify it in terms of “We’re doing this because that’s what this template says,” because they lose credibility. They have to almost immediately take responsibility for what they’re doing, and that’s hard when you don’t know what you’re doing.
So unfortunately you have to try and learn as much as possible, but only do the things that you see real value in. What I’ve been doing over the years is slowly taking things away from my process. You start by putting in all the templates, but then you go, well, what happens if I don’t use that template and I just have a couple of pages that describe what I’m doing? And then you discover that if people don’t understand something and it’s important to them, they will ask a question, and then you see whether you’ve missed something out in your communication, and then you put it in. What I tend to do now, if I have to create documentation, I’ll create documentation that helps me think about what I’m going to do and why, and if there are gaps when I use that to communicate, I can either address that individually or add it into the document. But fundamentally, testing or anything, when you’re learning it, you have to take responsibility for it.
Len: That leads me right on to my next question, shifting to your books. In the promotional video for Dear Evil Tester, you talk about testers building up the right attitude. Could you explain what the right attitude is?
Alan: Sometimes that attitude has to flex. Testers have to be really flexible in how they approach projects, because most other roles don’t have to have quite that degree of flexibility — they will get away with more stuff. Programmers will get away with more stuff because they are so utterly important to that project. You could get rid of almost anyone in the project except the programmers if you want to actually create software. They’re vital. They have a huge power base from which to work.
Testers are often sidelined, pushed apart. So we have to have an attitude of flexibility so that we can fit into the gaps. We can spot risks anywhere. We can communicate to anyone. We have to feel that we can go anywhere, not just in the software but in the project. We can go and speak to the designers outside of the planning meetings to get more information to give us an edge, speak to the programmers before they write any code to help or pair with them. It’s an attitude of doing whatever it takes, because sometimes on projects other people stick to well-defined roles and don’t look outside them.
We as testers are expected to communicate risks and issues. So we have to do whatever it takes to find them and identify them. Sometimes we have to say things that no one else will say. We have to be prepared to be shouted down, to be locked out of rooms and break our way into those rooms. I want an attitude where people don’t sit back and take it. Knowing that there’s risks and not speaking up, that won’t help.
Len: That reminds me of the layperson’s experience of dramatic failures — in the United States the most prominent recent one being the Obamacare website rollout, and here in Canada there have been some huge catastrophic failures too. If you were sitting in the pub and someone said, “How is it that you guys can all be in buildings for years and fail?” how would you answer?
Alan: That’s easy. I’m surprised more people don’t know how to do that, because we know how to do it. It’s a well documented approach. Many software development books tell you exactly how not to do that. There’s a lot of management books that tell you exactly how to achieve that aim, by not allowing people to communicate, by putting rules and things in place. When you’re in the pub and people say, “Well, why didn’t the testers pick up on those kind of things?” — they might well have. You don’t get to see inside that project to know how much turmoil was going on, to know who was sacked, what risks were raised, what risks were completely ignored, what was delayed so that no one had any time to work on it until it went out, what the politics of communication were. Fundamentally all these problems arise because people are involved, and people take personal affront at certain things. People want to control their power base within a department, people fight over budgets, people have to maintain their budget so they’ll use it up hiring their staff and not leave any to anyone else.
It’s much less about the project and more about the politics in the organization. Sometimes with these big projects you have competing consultancies in place. Rather than building it internally, they brought a bunch of consultants in. The consultants aren’t just working for the client, they’re also working for themselves, they’ve got a power base to maintain. There’s contractual obligations, so people stick to the contract rather than doing what is actually required, because the contract was built for the requirements and nothing changed, so it all drops back to the contract. If you really want to make things break, spend a lot of time negotiating a really tight contract that is inflexible. That will almost guarantee a project to fail.
Len: That reminds me of someone I know who got a job as a project manager on a big software project, and rapidly came to discover he had nothing to do — his job existed to keep the budget up. The lived reality of it was so sad and humiliating. I could only imagine how, once the edge of that wedge is in a workplace, that kind of problem must spread up and down the command chain.
Alan: It’s hard when you’re in those positions, because you’re desperately trying to do the right thing, but the system is against you, people aren’t listening to what you’re saying, and it’s hard sometimes to change a system from within. But people stick with it for a long time because you think you’re making a difference — you’re going in the meetings, you’re saying the things, it looks like something’s happening, you’ve made an influence somewhere. But it’s taken you months to get to the point where that person now exhibits doubt about what’s going on, and then they go and see their manager, and it stops almost immediately. So you put two months of work into that strand, that didn’t work, you start going to speak to this other group over here, sow the seeds of doubt, try and get a rebellion going on in this corner, and then after nine months you might go, “Right, I give up, I can’t make the changes here.” But there’s other people doing that at the same time, and over a long project it’s very easy to see how it just slowly crumbles and falls apart despite a lot of people trying to fix it.
Len: That’s very depressing.
Alan: It can be, but that’s why the agile process is really good. They still have problems, they still have politics, but they’re much more focused on building something, much more focused on getting stuff out the door, having people bypass the politics, having a much smaller political structure. So it’s a lot easier to get things done and out the door when that’s happening.
Len: For anyone not familiar with what Agile is, could you explain a little of the secret sauce?
Alan: Agile can be as bad as waterfall. When you come into a software development team and they say, “We’re doing Agile,” you still have no idea what they’re doing until you see it, because there’s so many different ways of interpreting that. But I think Agile works best when you are releasing into production regularly software that you have put a lot of effort into having a lot of automated validation around, to try and allow you to move fast, where you’re doing a lot of exploratory testing, and you’re trying to build in very small chunks that add value. You’re trying to release not necessarily fully formed chunks of very pretty interfaces, but functionality that meets a user need. If it’s an internal user you can cut corners on the design until later, because you’re trying to make sure that is actually what the person needs. Sometimes people say they need something, but they don’t actually know that’s really what they need until they see it implemented, and then they go, “Oh wait a minute, it doesn’t do X or Y, because we didn’t realize that was important.” If it’s a really long project, they don’t find that out until the very end, if at all. But on agile projects, they can hopefully find that out very quickly.
Len: On the subject of evaluating progress — your book Dear Evil Tester takes the form of an agony aunt column, where people write in questions and you write these humorous replies. One of the questions asked is, what is the most evil metric? And in your answer, you say there are many to choose from, but one to bring up is number of test cases. Could you explain why it’s most evil?
Alan: That goes back to the early days in projects where we were very waterfall. Waterfall is about we’ll create our designs, we’ll create all our requirements. Then what the testers have to do, as all that’s going on, in order to justify their existence, is create a lot of test cases. But those test cases have to be cross-referenced back to the requirements. Now, we have no measure of how productive the testers are at that point, because they’re not testing anything, so we have to count the test cases. And testing is infinite. We can do so many things, so if we start codifying it into each test case, we’ve almost got an infinite number of test cases we can come up with. So we end up creating more test cases than we could ever possibly run in the lifetime of the entire universe, let alone the three months that we’re going to get to actually execute this stuff.
That also goes back to a project I was working on in London. I was relatively junior, but I had to report on progress of testing, and we had tools where we put in test conditions, they’d be cross-referenced to requirements, we’d write test cases, we’d write test scripts for those. I wrote a metrics database and it was brilliant, because it was so flexible. I could count how many test cases, how many were cross-referenced to requirements, how many each tester had written, how many still had test scripts to go. It was a work of genius. I had at least 100 different metric queries running against this thing. It was overloading people with information — because it wasn’t information, it was just data.
It just allowed me to pick up more and more stuff that felt like we’re making progress. Because really we weren’t making any progress. We had a change control process, there were new specs, new designs. We had to do a lot of cross-referencing, because otherwise you don’t know out of all this stuff you’ve written what you have to change. It’s such a wasteful process.
When Lean started getting promoted within the software industry, that was really useful, because it made the point that if you’re producing something and it’s really not being used yet, it’s essentially waste. We would build up a huge backlog of test cases. We didn’t even know if they were correct. If you tried to apply that test case to the system, it probably wouldn’t work, because the implementation was different from the requirement. All you’ve really discovered is we’ve got a gap, but we’ve now got a huge set of scripts and cases that we have to rework because of that, and it’s just hugely wasteful.
Len: Where did the idea for the evil tester come from — and, I’m sure you get this question all the time, what does evil mean?
Alan: The evil tester character was a result of frustration. When you talk about waterfall projects, you talk about a lot of frustration in the process. So he was there as my little doodles in some of the most pointless meetings ever, to vent frustration. He would be stabbing project managers or whoever else was causing me most anguish at that time. And the notion of evil — people very often get hung up on specific words, so I want flexibility in the words that we use. When you badge something as evil it typically doesn’t get at the core of the problem, because you’ve just said it’s evil, we don’t understand its motives, we don’t even really look at what it’s doing, we just classed it as evil, it’s bad, it’s wrong. But also we would hear on projects that testing was a necessary evil.
No one ever wanted to invest in testing. Testing was just something you had to do, because if you didn’t it wouldn’t work. No one liked it. No one liked having to have lots of testers, because testing would inevitably overrun, because they’d find problems. How dare they find problems in our perfect system before it went out? Then we’d have to recode it, then the testers would have to redo their testing and we wouldn’t know what the impact was, so we’d have to do all the testing again. So it’s just this necessary overhead, and rather than actually fix the system of development and make it work, we viewed testing as this necessary evil.
I thought in my head, well, if testing is a necessary evil, then evil testing is something that we necessarily have to do to get to the heart of this. It’s helping me build an attitude of, rather than me having a stick in this corner, I should have the ability to go and speak to someone, even though that’s not allowed. “I’m not allowed to walk over there and speak to those people. I’m going to do it anyway. I’m not allowed to see those designs before they come over to me signed, but I’m going to do that anyway.” So it was about giving myself permission to do the things on the projects we were not allowed to do, but which were necessary to allow that project to recognize the problems that it had early.
Len: Switching to your role as a self-published author — I know that for your book Java for Testers you actually started publishing it before it was finished. What was that process like for you, and why did you choose to do it that way?
Alan: The whole self-publishing thing has been an experiment for me from day one. I wrote a book before I started doing things on Leanpub — Selenium Simplified, and I did two editions of that, so I learned a whole bunch of things doing that. I thought, I am never going to write another book with code in it unless I have the ability to automatically extract code from my code base, because that was a huge pain, copy and pasting things. When you read a lot of programming books, you see errors in the code and you think, how on earth could this happen? So I built a macro generator that I could put in my code that will automatically extract the code and stick it in the text files that I can incorporate into Leanpub.
Part of the reason for doing it in chunks was an experiment — I’ll see if people actually are interested in this. You get it out there, you start to build a base of people reading it, and you get feedback that way. If you have a really good outline before you start, that’s a really good process, because people know in advance what’s coming. Part of the issue for me was, because I was building it, people were putting in suggestions, and I would incorporate the suggestions. So the book was double the size that I actually wanted it to be, because people kept asking for more and more stuff. It was good because I’m meeting the wants that people had, people that were invested in this book. But it made the whole process a little bit longer than I wanted.
It’s a great process to get feedback, to see it building up incrementally. But there’s also a kind of debt in the middle where you haven’t finished the book yet, and you’ve got other work to do. I’m pretty sure there’s a gap of three or four months where I didn’t touch the book, and I felt really guilty because people had bought this half finished thing that I wasn’t actually even attempting to finish at that point. So you’ve built this monkey for yourself that’s walking around all the time nagging you to finish it. The hard part of writing any book is finishing it. If you incrementally go through it you’ve got that guilt motivation — people have paid for it and they really deserve a finished product. I like the notion of incrementally building it, but I’m not sure I’d incrementally build it to such an open-ended goal again.
Len: Did you have people actually nagging you during that period?
Alan: No, it’s just me. But you’ve got questions coming in. “Will you cover this?” and you go, “Well, I hadn’t really thought I’d cover that, but okay, I’ll cover that now.” So then you’ve got a whole new section. But you have to just buckle down, get it finished, even if you’re doing it incrementally.
Len: I noticed that the promotional videos for your books have some pretty well-made cartoons in them — for Java for Testers, I think the whole video is a cartoon. For the benefit of any self-published authors listening, how did you get those made?
Alan: There’s a website called powtoons.com, P-O-W-T-O-O-N-S. It basically lets you create these animated things on your own. They have a bunch of templates. You create a voiceover, you upload the voiceover, then you create short 15 second chunks of animation and it wires it all together for you. It’s really not as hard as it appears.
Len: I noticed there’s a print version of both Dear Evil Tester and Java for Testers for sale on Amazon. What was your motivation to make print copies, and what was that process like?
Alan: The motivation is people ask for print copies. I’m looking at my office now and I have hundreds of books in here. I love print books. Particularly when I’m learning a programming language, I’d much rather have a physical book to learn from. But I like digital books as well, because I can read them really fast, I can plough through them, I can carry them around on my tablet. Leanpub is really useful for creating both, because you’ve got the ability to create a print ready PDF.
That print ready PDF, you pretty much just upload straight into CreateSpace, and all you have to do is add the cover. The hard part is adding the cover; you do nothing to help people with the cover. But there’s really cheap desktop publishing tools — build a cover, export it as a PDF, join the two together in CreateSpace, and you’re pretty much done. The hard part is, when you’re editing the book yourself in digital, you’ll find a subset of errors; as soon as you go print, you’ll find other ones, just because it’s a different medium, you’re reading it a different way. So for me it’s also very important to go print, because I will see different problems.
Len: The process by which you test the print version is that you upload the print ready PDF from Leanpub to CreateSpace or whatever service you’re using, you upload the cover you’ve designed to the dimensions of the book size you’ve chosen, and then you order a test copy. Is that correct?
Alan: The first thing I do is print out the print ready PDF — I have my little laser printer here. I usually do two or three printouts locally so I can read it on A4 double-sized. Then I’ll get a proof copy through either CreateSpace or Lulu. It depends what I’m targeting. If I want a physical product to see what it looks like because I think this is it, then I’ll get the CreateSpace one, because that’s going in Amazon. If I want something fairly fast because I want a different medium to check it on, I might just get the printout from Lulu — Lulu deliver a little bit faster than CreateSpace do in the UK.
Before I go live with Amazon, I’ll make sure I’ve got one back from the CreateSpace proof copy, because you also need to get the cover aligned. You see so much stuff bleeding over the spine because you didn’t get the dimensions correct. There’s a lot of tweaking, and that process actually takes quite a long time — CreateSpace double check it, I don’t know if they do it manually or automatically, but that takes about a day, then you have to wait three or four days for the thing to be delivered. So you’ve got that lead time on each proof copy, so you really have to get it right. It was only recently that I discovered the diff PDF tool where I can compare the two print readies — the one I’ve just sent to CreateSpace and the print ready PDF from Leanpub — and diff them to make sure that the changes I expected are in there and nothing else is going wrong.
Len: I have just one more question. If we could build a magical feature for you in Leanpub — something that wasn’t working right, or something missing that you think would make a great addition — what would that be?
Alan: Most of it is pretty good for me. When I was writing the Selenium Simplified book, I started that as a word processed document. The first edition was word processed. That was horrible. The second edition, I created my own version of Leanpub that took XML files and generated LaTeX. So I had a lot more flexibility. What I found is LaTeX has the really good facility of writing tiny macros before you do the final run through that can make a massive change in the formatting — like mini CSS changes that make a massive difference.
So just a little bit more control over the LaTeX that’s output, or even seeing the LaTeX so that I can format it myself. But that’s a bit more techy than most people are ever going to want to use. Sometimes I think, yeah, I would really like the font to be just a little bit smaller than the one supported. But I don’t mind that much.
Len: I’ll pass it on to Peter and Scott. There’s actually a really deep issue at stake there. We’ve found, because we’re tinkerers and perfectionists ourselves, that formatting can become a distraction. As Peter Armstrong, my co-founder, puts it, formatting is procrastination. Before you know it you can find yourself tweaking all this formatting when you’ve got a chapter to write.
Alan: That’s why it’s only necessary for that print-ready PDF part. For the e-books, it’s fine. It’s only when you actually go to print and you just want a few little extra tweaks. But again, it’s perfectionism for no real value, because Leanpub has all the features that add the value in the print process. This is just that little extra bit, and it is completely unnecessary. But I had to answer your question.
Len: It’s interesting, because I think it wouldn’t be at all inconsistent with our principles to have some more formatting options available at the print ready point. Because the other thing Peter says is that formatting is procrastination until the book is completely written, and then it’s formatting time. Which is why we have InDesign export as well.