管理員所有權代碼_為什么代碼所有權糟透了,您永遠不應該在有實踐的地方工作...

管理員所有權代碼

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/

管理員所有權代碼

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/395576.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/395576.shtml
英文地址,請注明出處:http://en.pswp.cn/news/395576.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

AngularJS 自定義控件

AngularJS Custom Directives 好討厭不帶日期的博客,而且說得好啰嗦 自定義指令介紹 AngularJS 指令作用是在 AngulaJS 應用中操作 Html 渲染。比如說,內插指令 ( {{ }} ), ng-repeat 指令以及 ng-if 指令。 當然你也可以實現自己的。這就是 AngularJS 所…

oracle 監聽加密 tcps,通過oracle wallet配置listener tcps加密

一 配置客戶端和服務端的wallet2端配置方法一致,相互添加證書orapki wallet create -wallet "/u01/oracle/wallet" -pwd Wdkf984jkkgekj434FKFD -auto_login_localorapki wallet add -wallet "/u01/oracle/wallet" -pwd Wdkf984jkkgekj434FKFD …

[財務知識] debt debit credit 的區別于聯系

https://blog.csdn.net/sjpljr/article/details/70169303 劍橋詞典解釋分別為: Debt [C or U ] n.something, especially money, which is owed to someone else, or the state of owing something借款,欠款;債務He ran/got into debt ( borr…

SpringMVC視圖解析器

SpringMVC視圖解析器 前言 在前一篇博客中講了SpringMVC的Controller控制器,在這篇博客中將接著介紹一下SpringMVC視 圖解析器。當我們對SpringMVC控制的資源發起請求時,這些請求都會被SpringMVC的DispatcherServlet處理,接著 Spring會分析看…

TIOBE 10月編程語言排行榜 : GO 問鼎本年度語言 ?

距離2016年度編程語言的公布只剩3個月了,誰將奪得桂冠? 與去年同期相比,2016年只有Go語言和Groovy語言的增長率超過了1%。 需要注意的是,Groovy語言2015年以一個爆炸性增長的收尾,所以到2017年1月左右的增長速度可能不…

校友郵箱_freeCodeCamp校友網絡:FCC校友的自主指導網絡

校友郵箱by peterWeinberg彼得溫伯格 freeCodeCamp校友網絡:FCC校友的自主指導網絡 (The freeCodeCamp Alumni Network: A homegrown mentorship network for FCC alumni) For the last year, I’ve been spending nearly all my free time learning to code. I’v…

oracle severity,ORACLE10G如何清除OEM下的歷史警告信息

ORACLE10G如何清除OEM下的歷史警告信息問題描述:OEM的HOME頁面可以顯示ORACLE的報警信息,但報警事件清除后該信息不會自動清除。隨著時間的增長,信息量逐漸加大,解決方法是手工予以清除。SampleCluster DatabaseTablespaces FullT…

使用 ReSharper,輸入即遵循 StyleCop 的代碼格式化規范

StyleCop 可以幫助強制執行代碼格式化規范,ReSharper 可以幫助你更高效地編寫代碼。把兩者結合起來,你便能高效地編寫符合團隊強制格式化規范的代碼來。 本文就介紹如何使用 ReSharper 來高效地遵循 StyleCop 的代碼格式化規范。 本文內容 安裝插件 Styl…

Oracle數據庫備份恢復,巡檢須要關注的對象設置以及相關恢復概述

數據庫備份恢復。巡檢須要關注的對象設置: 1.數據庫名稱,以及DBID; --dbid在v$database中 SYSORCL>select dbid,name from v$database; DBID NAME ---------- --------- 1385095721 ORCL 2.控制文件的位置; s…

Python迭代器

一、文件迭代器 readline()每次讀取文件的一行,每次調用readline方法會自動到下一行,到文件末尾時,會返回空字符串。 _next_()方法同readline()一樣,只是到最后一行會引發stopiterat…

成千上萬的在線課程時,如何保持理智和學習編碼

by Travis Chan通過特拉維斯陳 成千上萬的在線課程時,如何保持理智和學習編碼 (How to stay sane and learn to code when there are thousands of online courses) We live in the information age. Information about anything we can think of is accessible to…

oracle中noguarantee,聊聊UNDO_RETENTION作用(修改guarantee)

oracle10g中,針對dba_tablespace,加了其中一個額外列是retention.回憶一下Oracle 10g之前,在自動Undo管理的模式下,我們都知道undo_retention參數的作用是用來控制當transaction被commit之后,undo信息的保留時間。這些undo信息可以…

【Hankson 的趣味題】

可能我只適合這道題的50分 但還是要爭取一下的 我們知道對于\(gcd\)和\(lcm\)有這樣的定義 \(a\prod _{i1}^{\pi(a)}p_i^{d_{i}}\) \(b\prod _{i1}^{\pi(b)}p_i^{g_{i}}\) 那么則有 \(gcd(a,b)\prod_{i1}^{\pi(max(a,b))} p_i^{min(g_i,d_i)}\) \(lcm(a,b)\prod_{i1}^{\pi(max(…

C# 控件雙緩沖控制 ControlStyles 枚舉詳解

ControlStyles 枚舉.NET Framework 4指定控件的樣式和行為。 此枚舉有一個 FlagsAttribute 特性,通過該特性可使其成員值按位組合。 命名空間: System.Windows.Forms程序集: System.Windows.Forms(在 System.Windows.Forms.dll …

協作機器人 ai算法_如果我們希望人工智能為我們服務而不是不利于我們,我們需要協作設計...

協作機器人 ai算法by Mariya Yao姚iya(Mariya Yao) 如果我們希望人工智能為我們服務而不是不利于我們,我們需要協作設計 (If we want AI to work for us — not against us — we need collaborative design) The trope “there’s an app for that” is becoming …

Shadow Brokers 公布 2.1 萬美元的 0day 訂閱服務

神秘黑客組織 Shadow Brokers 宣布將向支付 2.1 萬美元 0day 訂閱服務的個人公布最新一批的 NSA 工具,這一聲明給全世界的白帽子黑客或安全研究人員造成了一場倫理危機。 一方面,Shadow Brokers 此前釋出過創造出勒索軟件 WannaCry 的 NSA 工具&#xff…

linux awk 常見字符串處理

awk指定輸出列: awk {print $0} file #打印所有列awk {print $1} file #打印第一列 awk {print $1, $3} file #打印第一和第三列 cat file | awk {print $3, $1} #打印第三列和第一列,注意先后順序。 cat file | awk {print $3, $NF} #打印第三列…

oracle ldap 配置,ldap 安裝

一、安裝步驟1:配置yum源掛著盤鏡像時用到: 這里不做解釋;(yum clean all && yum makecache)2:安裝OpenLDAP組件1)安裝OpenLDAP組件命令如下:[rootgitea ~]# yum install openldap openldap-servers openldap-clients openldap-devel compat-openldap -ycom…

scp跨主機拷貝工具

參考:http://www.cnblogs.com/hitwtx/archive/2011/11/16/2251254.html SSH上A機,要將10.1.17.95機/tpdata/shell_script/下面的crontab.tar.gz文件拷貝到A機的當前文件夾下面: scp weblogic10.1.17.95:/tpdata/shell_script/crontab.tar.gz …

Google Chrome瀏覽器可能在您不知情的情況下破壞了您的測試

by Robert Axelsen羅伯特阿克森(Robert Axelsen) Google Chrome瀏覽器可能在您不知情的情況下破壞了您的測試 (Google Chrome might have broken your tests without you even knowing about it) My colleague just discovered that Chrome 58 (released April 19th) has sile…