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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What's the smartest/funniest comment you have read in a block of code?

8 点作者 tejbirwason大约 11 年前

3 条评论

notduncansmith大约 11 年前
In Sequelize&#x27;s MySQL Connector Manager, they implement their own connection pool a Futurama reference[1]:<p>&#x2F;&#x2F; I&#x27;ll make my own pool, with blackjack and hookers!<p>[1]: <a href="https://github.com/sequelize/sequelize/blob/bb40f280e2df900cf0626c62ea64c33492bc6833/lib/dialects/mysql/connector-manager.js#L62" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sequelize&#x2F;sequelize&#x2F;blob&#x2F;bb40f280e2df900c...</a><p>By the way, you might also enjoy <a href="http://whatthecommit.com/" rel="nofollow">http:&#x2F;&#x2F;whatthecommit.com&#x2F;</a>
mrgreen大约 11 年前
&#x2F;&#x2F; drunk, fix later or &#x2F;&#x2F; If this comment is removed the program will blow up<p><a href="http://stackoverflow.com/questions/184618/what-is-the-best-comment-in-source-code-you-have-ever-encountered" rel="nofollow">http:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;184618&#x2F;what-is-the-best-c...</a>
emilga大约 11 年前
I was grading some students&#x27; Python code. On the line above a particularly complicated piece of code, there was the single comment #yolo.