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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What is the ugliest code you've let slip?

6 点作者 mc42超过 8 年前
I&#x27;ve seen some horrible code run perfectly, and some inexplicable snippet that shouldn&#x27;t run work well enough.<p>What have <i>you</i> let make it to production that never should have been there, and likely was only intended as a temporary fix?<p>Did you ever get around to fixing it?

2 条评论

dublinclontarf超过 8 年前
I have been told that the code I write is ugly, multiple times by different people.<p>The only time this has ever bothered me is when it&#x27;s in the interview process and costs me the job.<p>I usually stop working on code when it&#x27;s &quot;good enough&quot;, which is to say, when it works.<p>Maybe I have low standards.
评论 #13249283 未加载
评论 #13251650 未加载
bbcbasic超过 8 年前
I read the gang of four, got a hard on and banged out some code with lots of classes with really long names. Felt damn proud of it at the time. Wanted to be the next Martin Fowler, but probably just some confused poor sod now maintaining that pile.