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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Introducing Bad Code Offsets

33 点作者 phsr超过 15 年前

5 条评论

mquander超过 15 年前
<i>The dollars you spend purchasing Bad Code Offsets are donated to various worthy Open Source initiatives that are carrying the fight against bad code on a daily basis. These organizations currently include jQuery, PostgreSQL, and The Apache Software Foundation.</i><p>Very clever! In my grand naivete I assumed that my $.50 would go toward actually cleaning up bad code, but instead, it decreases the <i>relative</i> impact of my bad code by producing more bad code, which will help distract from mine.
评论 #948631 未加载
davidw超过 15 年前
Reminds me of this: <a href="http://en.wikipedia.org/wiki/Indulgence#Abuses" rel="nofollow">http://en.wikipedia.org/wiki/Indulgence#Abuses</a>
maurycy超过 15 年前
<a href="http://codeoffsets.com/" rel="nofollow">http://codeoffsets.com/</a><p>Also, I think that the idea is not that stupid. Bad code have many (business also) consequences and I can imagine a savvy company that punishes teams for poorly written code with similar mechanism.<p>For instance, let's say that team has $100k bonus budget for a year. Every poorly written SLOC means $1, or $10, less in a budget because the company has to spend this money on QA or customer service.<p>Of course, what's really complicated is how to measure poorly written code (cyclomatic complexity, length of methods etc. basic metrics?), and how to adjust it to the deadlines.
Robin_Message超过 15 年前
This reminds me of <a href="http://www.cheatneutral.com/" rel="nofollow">http://www.cheatneutral.com/</a><p>I'd say both of these parodies show why carbon offsetting doesn't really work.<p>---<p>When you cheat on your partner you add to the heartbreak, pain and jealousy in the atmosphere.<p>Cheatneutral offsets your cheating by funding someone else to be faithful and NOT cheat. This neutralises the pain and unhappy emotion and leaves you with a clear conscience.<p>Can I offset all my cheating? Well, first you should look at ways of reducing your cheating. Once you've done this you can use Cheatneutral to offset the remaining, unavoidable cheating.
fsniper超过 15 年前
Is this some kind of joke? Or they are for real? Funding floss by paying for not feeling guilty writing bad code? Strange idea...
评论 #948682 未加载