管理员所有权代码

Code ownership sucks.

代码所有权糟透了。

It limits code and stunts your growth as a developer.

它限制了代码并阻碍了您作为开发人员的成长。

Let’s look at what code ownership is and why it destroys individuals and organizations.

让我们看看什么是代码所有权以及为什么它破坏个人和组织。

什么是代码所有权 (What is code ownership)

Code ownership is where one person in an organization owns a codebase.

代码所有权是组织中的一个人拥有代码库的位置。

That means one person is responsible for the whole system. The individual is responsible for making changes to the code, taking the decisions about design, and for managing bugs.

这意味着一个人对整个系统负责。 个人负责更改代码,做出有关设计的决定以及管理错误。

Let’s say the system is a web app. With code ownership, one person in the company owns that web app. If there’s a problem with the web app, the code owner is the person who has to fix it.

假设系统是一个Web应用程序。 使用代码所有权,公司中的一个人拥有该Web应用程序。 如果网络应用程序有问题,则代码所有者是必须修复它的人。

为什么会吮吸? (Why does it suck?)

Code ownership is bad for code owners because it stunts their growth.

代码所有权对代码所有者不利,因为它阻碍了他们的成长。

As well, code ownership causes problems for the organization and for code owners.

同样,代码所有权也会给组织和代码所有者带来麻烦。

If no one knows how a system works, nobody can give effective code reviews. Worse, the code might not be reviewed at all.

如果没人知道系统是如何工作的,那么没人会进行有效的代码审查。 更糟糕的是,该代码可能根本不会被审查。

The owner of the code is then the only person who ever looks at the codebase. This stops code owners from learning from their colleagues, which is the best way to learn at work.

这样,代码的所有者便是唯一查看代码库的人。 这阻止了代码所有者向同事学习,这是在工作中学习的最佳方法。

As a code owner, you could be making horrible design decisions and you wouldn’t know it.

作为代码所有者,您可能会做出可怕的设计决策,而您却一无所知。

代码所有权扼杀了动力 (Code ownership kills motivation)

It’s easy to lose motivation when you own a codebase.

当您拥有一个代码库时,很容易失去动力。

People don’t care if you shave 10kb off the bundle size when they don’t even know how big the bundle was before.

人们甚至不在乎捆绑之前的大小时,不在乎是否将捆绑大小减少10kb。

There’s no one to get excited with you when you switch to a new framework, add webpack to the pipeline, or improve server performance by adding a cache.

当您切换到新框架,将Webpack添加到管道中或通过添加缓存来提高服务器性能时,没有人会为您感到兴奋。

This is demotivating.

这令人沮丧。

代码所有权使您懒惰 (Code ownership makes you lazy)

When you own your code, you can get lazy.

拥有代码后,您可能会变得懒惰。

No one is checking in on you. People don’t know that the bug only took you five minutes to fix, and that you spent the rest of the day on reddit.

没有人在检查您。 人们不知道该错误只花了五分钟即可修复,而您余下的时间都花在了reddit上 。

You can coast by, doing the bare minimum. This is a waste.

您可以通过做最少的事情来做。 这是浪费。

I’ve seen 30-year-olds who have been in the same job for the last ten years, working on the same legacy codebase. And it shows. They’re behind on the latest technology, they’re not passionate about their work, and they spend hours every day browsing social media.

我见过30岁的人在过去十年中一直从事相同的工作,并在相同的旧版代码库中工作。 它显示了。 他们落后于最新技术,对工作不满,每天花数小时浏览社交媒体。

Don’t be like them.

不要像他们一样。

代码所有权产生关键人员依赖性 (Code ownership produces key man dependency)

Not only is code ownership bad for the individual but it’s also bad for the organization.

代码所有权不仅对个人不利,对组织也不利。

If one person is responsible for a codebase, what happens when the code owner goes on vacation—or worse—leaves the company? Nobody in the organization will know how the code works.

如果一个人负责一个代码库,那么当代码所有者去休假(或更糟糕的是)离开公司时会发生什么? 组织中没有人会知道代码是如何工作的。

This problem is known as key man dependency. Extreme code ownership produces key man dependency.

这个问题被称为关键人物依赖 。 极端的代码所有权产生关键人员依赖性。

代码所有权导致压力 (Code ownership causes stress)

Although it can make you complacent, code ownership also causes stress.

尽管它会让您沾沾自喜,但代码所有权也会带来压力。

If there’s a problem with the application, it’s your fault. You will be responsible, and you will have no one to help you fix the bug.

如果应用程序有问题,那是你的错。 您将负责,并且没有人可以帮助您修复错误。

有什么解决办法? (What’s the solution?)

The solution is a culture of shared code.

解决方案是共享代码的文化。

Shared code is where everyone in the team works on all parts of the codebase.

团队中的每个人都可以在共享代码中使用代码库的所有部分。

When the team owns the code, everyone can help make design decisions. Everyone can participate in the discussion of the system design, help bounce ideas around, and share in the responsibility of those decisions. Writing code becomes a magical experience.

当团队拥有代码时,每个人都可以帮助制定设计决策。 每个人都可以参与系统设计的讨论,帮助反弹想法,并共同承担这些决策的责任。 编写代码成为一种神奇的体验。

With shared code, there isn’t key man dependency. Any team member can go on vacation and the team will continue to work as normal.

使用共享代码,没有关键人员依赖性。 任何团队成员都可以休假,团队将继续正常工作。

With shared code, you’ll learn from your peers. Someone with knowledge of the system can provide quality feedback. Code will be scrutinized by many eyes, and it will flourish because of it.

使用共享代码,您将向同行学习。 有系统知识的人可以提供质量反馈。 代码将受到许多人的关注,因此它将蓬勃发展。

When multiple people work on the same codebase, they help to sculpt a code into perfection.

当多个人在同一个代码库上工作时,他们可以帮助您完美地雕刻代码。

充分利用您的工作时间 (Making the most of your time at work)

You don’t need to work in an organization that stunts your growth. You should make the most of your time at work.

您无需在阻碍发展的组织中工作。 您应该充分利用工作时间。

Developers have the upper hand in the job market. We can choose where we work. If we’re not learning at our current job, we can change jobs.

开发人员在就业市场上占了上风。 我们可以选择工作地点。 如果我们不学习当前的工作,我们可以换工作。

If you’re working at a place with code ownership, find a new job.

如果您在拥有代码所有权的地方工作,请找到新工作。

Don’t make the mistake of working in a suboptimal environment. It will harm you in the long run.

不要犯在次优环境中工作的错误。 从长远来看,它将伤害您。

You might not realize how badly it’s affecting your growth, but a place that has code ownership will stop you from reaching your full potential.

您可能没有意识到它对您的成长有多严重的影响,但是拥有代码所有权的地方将使您无法发挥全部潜力。

Learning from other developers is a great benefit of working on a team, so find a new job now.

向其他开发人员学习是团队合作的一大好处,所以现在就找一份新工作。

翻译自: https://www.freecodecamp.org/news/why-code-ownership-sucks-and-you-should-never-work-somewhere-that-practices-it-b8fc1c694074/

管理员所有权代码

管理员所有权代码_为什么代码所有权糟透了,您永远不应该在有实践的地方工作...相关推荐

  1. 网页漂浮物代码_无代码VS低代码。 有什么不同? 它。 不。 物。

    网页漂浮物代码 You may hear the terms "No Code" and "Low Code" thrown around by develop ...

  2. 再次检查打印机名称 并确保_我们的公司名称糟透了。 这是确保您没有的方法。...

    再次检查打印机名称 并确保 by Dawid Cedrych 通过戴维德·塞德里奇 我们的公司名称糟透了. 这是确保您没有的方法. (Our company name sucked. Here's h ...

  3. http代码_一行代码就可以实现HTTP文件服务器,他为什么写了150行?

    互联网已经发展了20多年,web技术早已经不是什么新消息,现在更多的程序员讨论的都是web框架,技术框架,高可用框架等.在框架的背后,其实还是要了解最底层的核心内容,比如TCP/IP协议怎么回事,HT ...

  4. 跨数据库所有权链接_为什么“数据所有权”不是隐私

    跨数据库所有权链接 It's no secret data privacy is the topic du jour in regulatory and press circles. Heighten ...

  5. 关系抽取 代码_免费代码营不能赚钱,没关系

    关系抽取 代码 by freeCodeCamp 通过freeCodeCamp 免费代码营不能赚钱,没关系 (Free Code Camp Doesn't Make Money, and That's ...

  6. atlas单机模式代码_用代码玩太无聊,这样玩海盗游戏《ATLAS》单机模式才是正确玩法...

    在各大单机游戏中,存在很多的代码给玩家使用,利用这些代码,玩家就能和开了挂似得快速通关.这让不少玩家沉迷于代码的世界而无心享受游戏的乐趣,因此在游戏界中经常有代码毁了一款游戏的说法.这点放在最近才上线 ...

  7. excel图片变成代码_三行代码把女朋友照片变成了素描图片!以为我画的!爱我爱的不行...

    简介 如何将图片转换成素描图呢,只需要下面四个步骤即可: 首先将彩色图转换成灰度图: 对灰度图进行求其反色的操作: 对第2步得到的结果采用一个高斯模糊的操作: 采用颜色亮化(color dodge)的 ...

  8. jeecg-boot自动生成代码_无代码实现销售系统自动判定并生成订单功能

    ERP项目中,业务员创建销售单后,还需要确认产品库存是否充足,如不充足,还需要手动创建生成订单通知车间进行生产,比较麻烦,客户希望系统可以自动进行判断,自动根据现有库存生成生产订单. 目标: 新建销售 ...

  9. visual studio 2019 HTML怎么自动生成代码_敲代码和编程适合什么样的笔记本?深度推荐...

    导读:编程,实际上范围还是很广的,有简单的PLC也算编程.Excel表格还自带VB,有复杂的系统插件,:我们说电脑配置,还是要落实到应用程序或者开发程序上面来,不能泛泛而谈: 1.我们聊聊编码的大众逻 ...

最新文章

  1. WebForm中关于DataGrid的20篇经典文章
  2. React SPA学习(一)
  3. MATLAB从入门到精通-matlab计算多重复杂多边形重叠面积
  4. 趣学python3(27)-列表和元祖
  5. 【职场】税前110万
  6. ORA-28000: the account is locked 解决方法
  7. jmeter(四十五)常用Beanshell脚本
  8. python access_Python3 os.access() 方法
  9. c语言堆栈基本代码入栈出栈_c语言的简单的进栈出栈
  10. 你见过工资高的程序员炫富 来7拍一下
  11. kubernetes 安装 helm,ingress
  12. spring boot 配置 druid的filters时报错 Reason: org.apache.log4j.Priority
  13. java jre 和jed_需要jre的软件如何安装,如jedit?
  14. Java实现中文汉字转换拼音,解决多音字问题
  15. 蓝桥杯 明码题解 【Java实现】
  16. PS第十一课--色阶曲线
  17. 如何使用Python将Word转换为PDF文件?
  18. 什么音频剪辑软件好用?
  19. goland连接数据库
  20. AdGuard 2.5.1.913 nightly 广告拦截工具

热门文章

  1. 还没吃透内存缓存LruCache实现原理的看这篇文章,跳槽薪资翻倍
  2. Django 【认证系统】auth
  3. 2.PHP利用PDO连接方式连接mysql数据库
  4. java枚举的简单介绍
  5. 【SLAM】安装 g2o_viewer
  6. mvn编写主代码与测试代码
  7. python字典嵌套字典的情况下获取某个key的value
  8. 《Java程序设计》学期总结
  9. 使用URLRewriter实现URL重写
  10. 【收集】ADOADO.NET 读取 Oracle 数据集