TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

You Might Be Better Off Without Pull Requests

12 点作者 aard5 个月前

3 条评论

morbicer5 个月前
In real (read enterprise) world you have things like SOC2 which mandates review by other people.<p>If you are 5 person startup, sure, commit straight to main.<p>Even in enterprise you should merge soon and live without long living feature branches but a PR where you run tests, static code analysis etc and get another eyes on is a good thing. With trunk based development the main goes straight to prod so you probably want to spin up the code for some testing anyway.
avikalp5 个月前
Wow, this is a very well-written article. I have experienced a lot of this in my own experience as a software developer.<p>This makes me wonder, the concept of pair programming has been around for a very long time. And yet, pull requests have grown in popularity while the use of pair programming remains pretty limited.<p>Does that mean that companies want to operate like a bunch of individuals instead of a team? Is independence valued more than speed &amp; collaboration when it comes to software development teams?
评论 #42324267 未加载
erik_seaberg5 个月前
A &quot;trusted team&quot; pushing unreviewed code to prod is breathtakingly reckless. I don&#x27;t trust <i>anyone</i> to do that. Not even myself. Please review my code, because our customers matter and so does oncall&#x27;s peace and quiet.<p>On svn we reviewed finished feature branches and merged them to the next release branch every few days, though svn routinely crapped itself on spurious conflicts like renames. Git just enables this reliably.