A place to cache linked articles (think custom and personal wayback machine)
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

4 роки тому
123456789101112131415
  1. title: You Are Not Paid to Write Code
  2. url: http://bravenewgeek.com/you-are-not-paid-to-write-code/
  3. hash_url: 50d058456431a7c90c57bbfea911c7a8
  4. <p><a href="http://widgetsandshit.com/teddziuba/2010/10/taco-bell-programming.html">“Taco Bell Programming”</a> is the idea that we can solve many of the problems we face as software engineers with clever reconfigurations of the same basic Unix tools. The name comes from the fact that every item on the menu at Taco Bell, a company which generates almost <em>$2 billion</em> in revenue annually, is simply a different configuration of roughly eight ingredients.</p>
  5. <p>Many people grumble or reject the notion of using proven tools or techniques. It’s boring. It requires investing time to learn at the expense of shipping code.  It doesn’t do this one thing that we need it to do. It won’t work for us. For some reason—and I continue to be <em>completely baffled</em> by this—everyone sees their situation as a unique snowflake despite the fact that a million other people have probably done the same thing. It’s a weird form of tunnel vision, and I see it at every level in the organization. I catch myself doing it on occasion too. I think it’s just human nature.</p>
  6. <p>I was able to come to terms with this once I internalized something a colleague once said: <strong>you are not paid to write code</strong>. You have <em>never</em> been paid to write code. In fact, code is a nasty byproduct of being a software engineer.</p>
  7. <blockquote><p>Every time you write code or introduce third-party services, you are introducing the possibility of failure into your system.</p></blockquote>
  8. <p>I think the idea of Taco Bell Programming can be generalized further and has broader implications based on what I see in industry. There are a lot of parallels to be drawn from <em>The Systems Bible</em> by John Gall, which provides valuable commentary on general systems theory. Gall’s Fundamental Theorem of Systems is that <strong>new systems mean new problems</strong>. I think the same can safely be said of code—more code, more problems. <strong>Do it without a new system if you can.</strong></p>
  9. <p>Systems are seductive and engineers in particular seem to have a <a href="http://bravenewgeek.com/not-invented-here/">predisposition for them</a>. They promise to do a job faster, better, and more easily than you could do it by yourself or with a less specialized system. But when you introduce a new system, you introduce new variables, new failure points, and new problems.</p>
  10. <blockquote><p>But if you set up a system, you are likely to find your time and effort now being consumed in the care and feeding of the system itself. New problems are created by its very presence. Once set up, it won’t go away, it grows and encroaches. It begins to do strange and wonderful things. Breaks down in ways you never thought possible. It kicks back, gets in the way, and opposes its own proper function. Your own perspective becomes distorted by being in the system. You become anxious and push on it to make it work. Eventually you come to believe that the misbegotten product it so grudgingly delivers is what you really wanted all the time. At that point encroachment has become complete. You have become absorbed. You are now a systems person.</p></blockquote>
  11. <p>The last systems principle we look at is one I find particularly poignant: <strong>almost anything is easier to get into than out of</strong>. When we introduce new systems, new tools, new lines of code, we’re with them for the long haul. It’s like a baby that doesn’t grow up.</p>
  12. <p>We’re not paid to write code, we’re paid to add value (or reduce cost) to the business. Yet I often see people measuring their worth in code, in systems, in tools—all of the output that’s easy to measure. I see it come at the expense of attending meetings. I see it at the expense of supporting other teams. I see it at the expense of cross-training and personal/professional development. It’s like full-bore coding has become the norm and we’ve given up everything else.</p>
  13. <p>Another area I see this manifest is with the siloing of responsibilities. Product, Platform, Infrastructure, Operations, DevOps, QA—whatever the silos, it’s created a sort of <a href="http://bravenewgeek.com/shit-rolls-downhill/">responsibility lethargy</a>. “I’m paid to write software, not tests” or “I’m paid to write features, not deploy and monitor them.” Things of that nature.</p>
  14. <p>I think this is only addressed by stewarding a strong engineering culture and instilling the right values and expectations. For example, engineers should understand that they are not defined by their tools but rather the problems they solve and ultimately the value they add. But it’s important to spell out that this goes beyond things like commits, PRs, and other vanity metrics. We should embrace the principles of systems theory and Taco Bell Programming. New systems or more code should be the last resort, not the first step. Further, we should embody what it really means to be an engineer rather than measuring raw output. You are not paid to write code.</p>