为什么程序员需要有门的私人办公室?
Why do programmers need private offices with doors?

原始链接: https://blobstreaming.org/why-do-programmers-need-private-offices-with-doors-do-not-disturb/

简介:在当今快节奏、竞争激烈的数字环境中,软件开发已成为全球众多行业的重要组成部分。 因此,近年来,编程因其创造复杂技术来增强组织竞争力的能力而日益发展成为一个高需求的职业。 然而,尽管拥有丰厚的职业前景,但成为一名熟练的开发人员仍然具有挑战性,因为它需要不断学习和改进以应对技术进步。 从今以后,我建议通过广泛检查关键方面(包括个人经验、技术专长、职业期望和社会影响等)来探索与掌握编码艺术相关的复杂性。 为了实现这一目标,我打算分享从成功案例和我自己的经验教训中汲取的实用见解。 通过这些分享的叙述,我渴望为未来的学习者提供有价值的指导,帮助他们驾驭复杂的学习曲线,实现有效的决策过程,促进自我发现练习以揭示隐藏的才能和才能,并促进同侪群体之间的合作伙伴关系。 此外,根据最近的研究,本文旨在强调初学者编码员经常遇到的一些常见陷阱,包括拖延习惯、完美主义倾向、冒名顶替综合症信念和倦怠现象。 通过识别和承认这些常见的障碍,读者将获得减轻这些负面影响的基本技能,从而使自己具备必要的弹性特征,以便在紧张的编码过程中保持注意力并改善心理健康。 为了补充这个讨论,我的目标是分享与全球精英开发人员所采用的策略相关的最佳实践,包括结构化思维框架、敏捷方法、迭代开发原则、测试方法、调试策略、纠错程序、质量控制机制、版本管理技术、 文档协议、协作工具、项目管理方法和设计模式。 此外,本文建议进行实证分析,以确定练习正念与实现更好的编码结果之间的潜在相关性,特别是在错误率降低、代码优化改进、错误修复效率提高、认知处理加速、生产力增强以及认知方面。 处理负载减少水平。 最后,根据学术文献综述,我打算提出有说服力的论据,其证据表明冥想练习可以通过刺激前额皮质活动、减少认知功能来改善认知功能。

作者承认开放式布局具有一定的优势,包括培养社区意识和鼓励合作。 他们强调了在工作和干扰之间设置障碍的重要性,并建议带门的私人办公室或会议室可以提供更好的注意力和生产力。 作者还指出,个人对办公环境的偏好差异很大,并强调需要认识和尊重这些差异。 总的来说,讨论围绕着在办公室功能与员工满意度和舒适度之间寻找平衡和妥协。 某些个人对开放式布局的批评进行了讨论,但最终承认并理解为合法的个人偏好,尽管以攻击性或愤世嫉俗的方式表达。
相关文章

原文

It’s a common occurrence: You’re sitting at your desk, lost in thought, trying to solve a problem that’s been blocking your work all week.

Overcoming depression

There are often discussions on Hacker News about depression or suicide. Lots of the comments give helpful advice from people who have battled depression at some stage. there was a post by someone suffering from depression. That person was wondering how they could repay the people who were supporting him.

Deep in your brain you’re building a structure of thoughts and possibilities undreamed of in anyone’s philosophy: You identify concepts and stack them against each other, turning them and flipping them and slotting them together. Like a keystone arch, as soon as it’s finished it’ll be strong enough to stand for generations—but it would topple to the ground in an instant if you stopped holding the pieces together before it was done.

Keystone of the Monumental Arch, Palmyra · © Verity Cridland/flickr

A colleague comes along and notices you sitting there, maybe with your mouth hanging ever-so-slightly open, maybe with your head cocked sideways and one eye twitching and the general look of a person who has just inhaled a bug (just me?), and it’s obvious you’re not doing anything, so he taps you on the shoulder and says, "Can I just steal your brain for a moment? I wanted to ask you…"

And there, in that instant, the glorious half-arch you've been struggling to hold together comes crashing to the ground around you.

Like many of life’s most infuriating events, it’s easy to pin this one on people just generally being terrible. And hey, maybe people are just terrible. But there’s another theory which says it all comes down to miscommunication and different people accustomed to two very different kinds of work, so (in the name of charity and goodwill) let’s examine the generous possibility instead.

These two types of work were first identified, to my knowledge, by the programmer and essayist Paul Graham. The first type of work he describes can be interrupted harmlessly—nothing is lost if you stop for a second (or an hour, or a day) and come back to it later. An example might be building a simple pyramid out of wooden blocks (don’t pretend you don’t miss it). If someone wants to talk to you while you’re building your wooden pyramid you can easily stop, put down the block you were holding, and go off to chat for a minute or five; the tower will still be there when you come back, and you’ll have no problem picking up where you left off.

Top Ten Blocks
Top Ten Blocks · © rweait-osm/flickr

For a person accustomed to this kind of work, it’s obvious that if a colleague comes along and needs your brain for a moment, you should stop what you’re doing and help. Those 30-second interruptions cost them exactly 30 seconds, and what kind of person can’t spare 30 seconds for a friend in need?

The second type of work, however, is a completely different matter. The second type of work is like building our arch: If you stop for even an instant, you might drop half the pieces, drop the knowledge you were slowly accumulating of the strong points and weak points and which blocks go where. In these situations, a 30-second interruption can cost you a great deal more than 30 seconds—I’d argue, in fact, that for a Do Not Disturb task, a single brief interruption can easily halve your productivity.

Does that sound extreme, maybe even implausible? Here’s a (slightly) mathematical spin that I think shows why it’s credible. (Bear with me on the math, I promise it will be worth it.)

One way to think about harmlessly-interruptible work is that it’s any kind of task where productivity is linear in the amount of time you spend on it. That simply means that if you spend 2 units of time on a task, you get 2 units of output back. For linear-type work, it really doesn’t matter whether those 2 units of time are spent in an uninterrupted two-hour block or in two separate one-hour blocks, because 1 + 1 = 2. (You can check my sums, I’ll wait around.)

Once we see it this way, it’s easier to figure out what’s going on with the Do Not Disturb work. Do Not Disturb work is any kind of task where productivity rises in a variety of non-linear ways: For example (though there are many others), if productivity rises in line with the square of time spent. This could mean that a 2-hour block of work gives us 2-squared units of productivity, which is 4 units of productivity, but two one-hour blocks of work give us only 1² + 1² units of productivity, which is 2 units of productivity. Suddenly that 30-second interruption makes a huge difference:

As Graham puts it, for Do Not Disturbers, "The cost of having someone from personnel call you about a form you forgot to fill out can be huge. This is why hackers give you such a baleful stare as they turn from their screen to answer your question. Inside their heads a giant house of cards is tottering."

As I said previously, I think that the simple misunderstanding between people who are accustomed to harmlessly-interruptible work and people who are accustomed to Do Not Disturb work causes many of the infuriations of the modern workplace. The harmlessly-interruptibles get exasperated at that one colleague who is so obstinate and anti-social she refuses to stop for the briefest conversation, or even take out her earbuds for half a minute, when someone is at her desk with an important message to give her.

Meanwhile, the Do Not Disturbers can’t fathom how their colleagues could be so un-empathetic as to wreck two hours of work in a heartbeat… just to tell them that a meeting they never wanted to attend has been moved from three to three-thirty. If we could all just hang a sign on our door saying what kind of work we’re in the middle of, so that colleagues could know in advance whether to cut in for a second or save it for later, everyone would be better off.

Of course, this assumes that you have a door to hang that sign on. Here we see another insight from the Two Types of Work theory. I believe that the eternal tension between open-plan and private offices can be explained (among other factors) by the two types of work. If you’re doing harmlessly-interrupted work, then it might make sense to be surrounded by your colleagues, bouncing ideas, shooting quick questions—the productivity gained by immediate answers could outweigh the small losses resulting from those brief interruptions.

Graham writes that he "once saw a recruiting ad for Microsoft with a big picture of a door. Work for us, the premise was, and we'll give you a place to work where you can actually get work done."

In terms of Do Not Disturb work, on the other hand, an open plan office is a living nightmare—so much so that companies in the know make private offices for Do Not Disturbers a major part of their recruitment package. Graham writes that he "once saw a recruiting ad for Microsoft with a big picture of a door. Work for us, the premise was, and we'll give you a place to work where you can actually get work done." Similarly, when programming guru Joel Spolsky was having new offices designed for his company, Fog Creek, he told the architect that "private offices with doors that close were absolutely required and not open to negotiation."

In fact, Spolsky went so far as to completely eschew outside funding for his company partly because "I don't think it's possible to have private offices for developers when you're VC-funded...I think that it's worth paying for in terms of the productivity you get…[but] it would be considered completely unacceptable by the average VC…because it's considered an extravagance of a successful company or something like that. And, you know, 'Why aren't you all in the same room talking?'" Why aren’t you all in the same room talking?—I think we all know the answer to that one.

I similarly believe that Do Not Disturb work is at the heart of the reason why so ⋅ many ⋅ productivity ⋅ writers argue for blocking out the first few hours of the day for completely ignoring email. Email is the ultimate 30-second distraction: It hardly takes a moment to read and reply to somebody’s message, and while you’re doing it you feel productive and useful and meaningful in the world. But every time you break from your Do Not Disturb work to answer that quick question (or just impulsively flip to your email tab), you’re dropping half the bricks in your arch, or maybe stopping yourself from starting an arch in the first place. Nothing breaks the imagination like a letter from a friend.

Of course, the notion that there are two totally different types of people, doing totally different types of work, is more than a little oversimplified (a stark dichotomy that turns out to be oversimplified? Who would have thought!). While some of us will immediately recognize Do Not Disturb work as the main type of task we do each day, I think most of us have some amount of Do Not Disturb work in our lives which we ought to prioritize in the early morning, or late at night, or whenever it is that we have even the slightest possibility of finding (and guarding) uninterrupted work time.

Which is to acknowledge an inconvenient truth: An uninterrupted block of time, unless guarded jealously, will never stay that way—a slow devolution towards disorder seems to be the natural way of things unless we intervene decisively against it. We need to fence off any possible Do Not Disturb time using whatever measures necessary: switching off WiFi, working inside the closet, pretending we have to stay home today because the kids have chicken pox (again). If you’re going to build an arch, it’s often necessary to spend resources first on a fence around that arch — a fence to keep the baying hounds of the outside world at bay.

A few more tips about Do Not Disturb work. First, if you can possibly leave your Do Not Disturb time open-ended—say, I’ll start this work at 8 a.m. and whenever I happen to finish it I’ll go back to checking emails—that’s very much for the best.

Graham writes that, in some ways, "scheduled distractions may be worse than unscheduled ones. If you know you have a meeting in an hour, you don't even start working on something hard." It isn’t possible to engage with Do Not Disturb work indefinitely; at some point your brain fuzzes up like an old peach, and you really must go do something else. But there’s a very big difference between driving on an open road until you run out of gas and driving with a cop car bearing down on your rearview mirror: In the latter case you’re likely to say, "Well, I wouldn’t have got much more done anyway," and pull over to the shoulder much sooner than necessary.

Graham writes that, in some ways, "scheduled distractions may be worse than unscheduled ones. If you know you have a meeting in an hour, you don't even start working on something hard."

Second, it’s important to understand that not all distractions are created equal. As Graham notes, "The danger of a distraction depends not on how long it is, but on how much it scrambles your brain. A programmer can leave the office and go get a sandwich without losing the code in his head. But the wrong kind of interruption can wipe your brain in 30 seconds."

Graham clearly means a sandwich from that one local sandwich place that the person always goes to, because the exact same sandwich run would be absolutely arch-toppling if it involved going to a different café and having to think about anything. The secret to acceptable interruptions, while hard to describe precisely, could be something about your ability to deal with them on autopilot: They must be completely unsurprising and not require any decisions.

Finally, a word to the managers of the Do Not Disturbers. I realize that, as an executive, this can all start to sound like special pleading. Not only am I saying that I want to be left alone and not be disturbed under any circumstances—when it looks to a normal observer like I’m sitting here and daydreaming—but I’m also saying that my colleagues aren’t allowed to disturb me for even 30 seconds with important questions, yet I can wander off for 30 minutes at lunch and that’s a-okay. How does that even make sense? It doesn’t, I know. It sounds insane. So I realize there’s a lot to take on trust here.

I think it’s important to appreciate, though, just how enjoyable Do Not Disturb work is. You remember, as a kid, how you invented fantasy worlds in your head, filled with brilliant inventions and fantastical quests, and when your folks called you down for dinner you simply ignored them because you didn’t want to lose your place in the story? That’s Do Not Disturb work. How about the feeling when you meet a special someone, and the only thing you want in the world is to stay up all night walking and talking with them, trying to understand them at the deepest level? That’s Do Not Disturb work. Do Not Disturb work is Newton gazing at the apple tree; Do Not Disturb work is Paradise found. Do Not Disturb work is, far and away, the greatest part of a working day, so I firmly believe that any person tasked with doing it and given the conditions to make it possible would be absolutely crazy to spend those sacred hours doing anything else.

Managers, I swear, this is a chance to be a hero: Stand boldly between your Do Not Disturbers and the outside world with a sword in your hand shouting "none shall pass." Because deep in their brains, in measureless caverns, your Do Not Disturbers are building arches and citadels and domes in the air—the structures that the greatest companies are made from.

This essay is lovingly dedicated to the hours 8 till 12, without which none of my real work would ever get done.

联系我们 contact @ memedata.com