Date: Mon, 11 Dec 2017 15:15:19 +0000
<p>Genius is a fickle beast. Sometimes you have the good fortune to work with a mad genius. Other times you are doomed to work with pure madness. There are also times when it is hard to tell the difference.</p> <p>In this episode we explore "brilliant jerks" and how to save your development team from them.</p> <p>Written and Read by: Jonathan Solórzano-Hamilton</p> <p>Follow him on Twitter: <a href="https://twitter.com/jhsolor">https://twitter.com/jhsolor</a></p> <p>His full article on freeCodeCamp's Medium publication: <a href="https://fcc.im/2BAhnm6">https://fcc.im/2BAhnm6</a></p> <p>Learn to code for free at: <a href="https://www.freecodecamp.org">https://www.freecodecamp.org</a></p> <p>Intro music by Vangough: <a href="https://fcc.im/2APOG02">https://fcc.im/2APOG02</a></p> <p> </p> <p>Transcript:</p> <p>“You will never be able to understand any of what I’ve created. I am Albert F***ing Einstein and you are all monkeys scrabbling in the dirt.”</p> <p>And so our resident genius, our Dr. Jekyll, explosively completed his transformation into Mr. Hyde.</p> <p>He declared this in front of the product design team, developers, management, and pre-launch customers. One of our project sponsors had the temerity to ask when the problem crippling our product would be fixed.</p> <p>Genius is a fickle beast. Sometimes you have the good fortune to work with a mad genius. Other times you are doomed to work with pure madness. There are also times when it is hard to tell the difference.</p> <p>This story is about the fall from grace of an extremely gifted team member with a deep understanding of our product’s architecture. He had an uncanny ability to forecast future requirements, and a ton of domain-specific knowledge.</p> <p>He was our top contributor. He was killing our flagship project.</p> <p>We’ll call this person “Rick.”</p> <p>Rick was universally recognized on the team as the top talent. He was the lead developer and architect of our software projects.</p> <p>Any time anyone had a question about code or needed help with a task, they would go to Rick. Rick had a giant whiteboard installed in his office used only for this purpose. It was always cluttered with the ghosts of past discussions that wouldn’t quite erase.</p> <p>Any time there was a particularly challenging problem, Rick would handle it. Rick had a server with the same specs as our production server installed at his desk. He used this to run the entire application stack independently and troubleshoot every layer at once.</p> <p>Rick didn’t need anybody else. Rick preferred to work alone in his private work-space.</p> <p>Rick didn’t need anything anybody else built. He built everything he needed from scratch because it was infinitely better than the paltry offerings of mere mortals.</p> <p>Soon, Rick stopped attending meetings. Rick didn’t have time for meetings any more because there was too much to code.</p> <p>Rick closed his door. His whiteboard lay fallow. Rick no longer had time to train anyone because he had too much to solve on his own.</p> <p>A backlog grew behind Rick. Bugs were popping up in old tools he’d built. They sapped his attention from meeting commitments on new product development.</p> <p>Of course, these bugs were happening because the users had misstated their assumptions. Of course there wasn’t any problem in his work. Of course.</p> <p>On our project dashboard, green flags changed to yellow. Yellow changed to red. Red lights started blinking. One by one, task statuses changed to “Impeded.” Everyone was waiting for Rick.</p> <p>The project manager got a six-month extension from the sponsor. At the end of the six months, production-readiness was estimated to be seven months away. At the end of a year, production-readiness was two years out.</p> <p>Rick was churning out code faster than ever. He was working seven-day weeks, twelve hours a day.</p> <p>Everyone knew only Rick could pull the team out of this mess. Everyone held their breath and waited for Rick to invent the miracle cure that would mend this crippled project.</p> <p>Every day, Rick grew more belligerent and isolated. The mask was coming off. Jekyll was becoming Hyde.</p> <p>I participated in my first meeting with the project team about two years after the original agreed release date. I’d been aware of the project for a while, because it had grown infamous in my organization, but hadn’t been assigned to it.</p> <p>I was sent in to see if we could save it.</p> <p>My first meeting on the project was the aforementioned “Albert Einstein” meeting.</p> <p>Hmm.</p> <p>I dove into the source code. Rick was right: no-one could possibly understand what Rick had created. Except for Rick. It was a reflection of the workings of his own mind. Some of it was very clever, a lot of it was copy-pasta, it was all very idiosyncratic, and it was not at all documented.</p> <p>I went to our CIO with the verdict. Only Rick would ever be able to maintain this product. Plus, every day that Rick worked on the project moved the delivery date back a week. Rick was destroying our product faster than he was creating it.</p> <p>We sat down with Rick and had a conversation about his role in the project. We reviewed our concerns. We sidestepped his self-comparison to Albert Einstein.</p> <p>We explained our new strategy. The team was going to collaborate on building a new product from scratch.</p> <p>This effort would be very limited in scope and would only provide the bare essentials to get us to production. The whole team would contribute and be able to support it. No more bottlenecks.</p> <p>How did Rick react to this?</p> <p>The only way Rick could. Rick exploded.</p> <p>Rick wanted no part of this farce. If we couldn’t appreciate his genius, that was our fault, not his. Rick predicted that within months we’d come crawling back to him begging him to save us.</p> <p>Rick screamed that we lacked the basic mental capacity to appreciate genius when it was staring us in the face.</p> <p>Sadly, after this, Rick rejected months of overtures by leadership. He refused to take time off or allow any work to be delegated. He rejected repeated attempts to introduce free open source frameworks to replace his hard-to-maintain bespoke tools.</p> <p>He reverted code changes — including tested bug fixes — by other developers. He asserted that he wouldn’t be held accountable for supporting other people’s work. He continued publicly belittling his colleagues.</p> <p>We fired Rick.</p> <p>It took about a week for the dust to settle. It took time for the shocked team to gather themselves after losing their embattled guru.</p> <p>Then I saw them huddled around a whiteboard.</p> <p>They collaborated. They designed a replacement product. It would be much simpler.</p> <p>It wouldn’t have all the bells and whistles. Nor would it anticipate requirements from five years down the product road map.</p> <p>Rick’s product supported a dynamic workflow with over fifteen thousand permutations. In reality 99% of our use cases followed one of three paths. The team hard-coded the workflow. This removed over 30% of Rick’s work.</p> <p>It wouldn’t have custom hand-coded components for every task. They stripped out every bespoke dependency that they could buy instead of build.</p> <p>This removed hundreds of hours of Rick’s contribution. But it also removed thousands of hours of technical debt.</p> <p>We obtained an agreement from the project sponsor to shut off some edge-case functionality.</p> <p>This had served only 5% of our pre-launch user group and was responsible for about a quarter of the product’s complexity.</p> <p>We re-released the product to this group. It consisted of 10% of Rick’s original code which was pretty stable. It also had a few thousand lines of new code to replace about 150,000 lines of incomprehensible mess.</p> <p>The team had replaced five years of work in about six months. Over the next few months we expanded from pilot to full customer release.</p> <p>Not only had we replaced what Rick had built, we sped past him and fully launched the product — all in under a year. The result was less than a fifth the size and complexity of what Rick had built.</p> <p>It was also hundreds of times faster and nearly bug-free despite having been assembled in a fraction of the time and serving ten times as many customers.</p> <p>The team went back to Rick’s other products. They threw away his old code there, too.</p> <p>They re-released another product of his after three years in development, with three months of concerted team effort.</p> <p>There were no Ricks left on the team. We didn’t have any mad geniuses building everything from scratch. But our productivity was never higher.</p> <p>Rick was a very talented developer. Rick could solve complex business logic problems and create sophisticated architectures to support his lofty designs. Rick could not solve the problem of how to work effectively on a team.</p> <p>Rick’s presence was destructive in several ways.</p> <p>First, he created a cult of dependence. Any problem eventually became a Rick problem, a myth he encouraged. Developers learned to stop trying and just wait for Rick.</p> <p>Second, he didn’t write maintainable code. He never documented or tested anything, and so failed in spite of his own intelligence. His belief in his personal infallibility trumped common sense.</p> <p>Third, he was personally destructive. Team members didn’t want to speak up and offer their own ideas because he always berated them for it. Rick only respected Rick and went out of his way to make everyone else feel small.</p> <p>Fourth, he lacked all personal accountability. No failure was his fault. He sincerely believed this, and it prevented him from learning from his own mistakes.</p> <p>I don’t believe Rick started out this way. I saw him at his worst. This was after years of working escalating overtime and facing increasing criticism from customers and colleagues.</p> <p>It’s sad that Rick descended this far. His manager shares in this responsibility. In fact, the original management team was held accountable: they were let go first.</p> <p>Unfortunately Rick was so far gone that he couldn’t, or wouldn’t, be brought back. No amount of coaching, feedback, time off, or assignment to other projects changed his toxic behavior.</p> <p>By this point the whole team knew he was destructive. But the cult of dependence was so strong that everyone believed he was the only option.</p> <p>There is always another option.</p> <p>Your team’s strength is not a function of the talent of individual members. It’s a function of their collaboration, tenacity, and mutual respect.</p> <p>Focus on building teams that value each other and try to bring the best out of one another.</p> <p>Together, they’ll be able to tackle greater challenges than Rick could ever fathom.</p> <p>I have published a follow-up story with our lessons learned if you are interested in reading more! You may also be interested in reading about my first job at a startup, which happened to be imploding around me.</p> <p>You can follow me here or on Twitter @jhsolor for more updates.</p> <p>Note: Some details (such as names) have been changed. I’ve never actually worked with anyone named Rick.</p>