你遇到过的源代码中最好的注释是什么?
当前回答
经典的旧netscape mozilla代码。我个人喜欢
就是不能乱来。而且移动记忆会毁了我们,还有 一切都太他妈难搞清楚了。所以,我放弃了,Mac 完全完全地吸走完整的岩石
但还有很多其他有趣的。
其他回答
// If you're reading this, that means you have been put in charge of my previous project.
// I am so, so sorry for you. God speed.
// sometimes I believe compiler ignores all my comments
-- Change Log: Not needed. The code is perfect 'cause I wrote it.
-- If you change it, it will break.
我正在检查一些代码注释,以检查它们是否有意义,并看到上面的一行。
#pragma region Crap that is kept for temporary reasons
// Huge chunk of commented code
#pragma endregion
我刚刚注意到自己在写这个
// not brilliant solution, but fair enough heh.