6 ms·
Ask HN: What's the smartest/funniest comment you have read in a block of code?
- notduncansmith 12y agoIn Sequelize's MySQL Connector Manager, they implement their own connection pool a Futurama reference[1]: // I'll make my own pool, with blackjack and hookers! [1]: https://github.com/sequelize/sequelize/blob/bb40f280e2df900cf0626c62ea64c33492bc6833/lib/dialects/mysql/connector-manager.js#L62 https://github.com/sequelize/sequelize/blob/bb40f280e2df900c... By the way, you might also enjoy http://whatthecommit.com/ http://whatthecommit.com/
- emilga 12y agoI was grading some students' Python code. On the line above a particularly complicated piece of code, there was the single comment #yolo.
- mrgreen 12y ago// drunk, fix later or // If this comment is removed the program will blow up http://stackoverflow.com/questions/184618/what-is-the-best-comment-in-source-code-you-have-ever-encountered http://stackoverflow.com/questions/184618/what-is-the-best-c...