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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

What is the most absurd code you've ever seen?

23 点作者 e19293001超过 8 年前

8 条评论

nickthemagicman超过 8 年前
Lol, cron jobbed scripts. Instead of changing the code they would just write a new script and cron it 1 second after the original script.<p>Problem solved!
评论 #12911670 未加载
评论 #12898122 未加载
rabboRubble超过 8 年前
Pretty much any code I&#x27;ve written and reviewed after a couple of months.
jdietrich超过 8 年前
Obligatory link to TheDailyWTF:<p><a href="http:&#x2F;&#x2F;thedailywtf.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;thedailywtf.com&#x2F;</a>
abawany超过 8 年前
The Magic Servlet pattern in action: a 4000+ line function implemented in a jsp file; took a while to refactor that dumpster fire. I have never put much stock in &#x27;licensing&#x27; for software developers but the aforesaid monstrosity really made me consider whether I should rethink my position.
chrishepner超过 8 年前
I once encountered a 2K+ line script handling submissions from something like a contact form.<p>If a client submitted a value for which the key didn&#x27;t exist in the database table, it wasn&#x27;t ignored - the application would alter the table to add that row to the database so it could insert it.
vacri超过 8 年前
Surely there&#x27;s prior art on the AT&amp;T one? Might be a bit hard to search for, though.
lillesvin超过 8 年前
Found an &quot;if (true or false) { ... }&quot; in a PHP project my team is maintaining. It was from before we took over the project so we don&#x27;t know where it comes from.
aappleby超过 8 年前
class CSectionOfSingleMaterialDrawableObjectBuilder { ... };