你遇到过的源代码中最好的注释是什么?


当前回答

// A Gorgon class - For the love of Zeus don't look directly at it!

其他回答

int Q13Factor = 8125; // 2^13 for Q13 

在中间几千行JScript文件后完全任意行…

// The world is a happy place.

从泄露的Win2K源代码:

//这次黑客入侵的规模堪比国家债务的规模。

else
{
    // rien, c'est parfait.
}

我在我发布的WordPress模板中发布了这个“许可声明”。不管怎样,我觉得这很有趣。

/* The License:
You (from this point on referred to as The You) are hereby 
granted by me (from this point on referred to as The Me) 
license to knock yourself silly with this template. 
By using this template The You implicitly accepts this 
license and pledges solemnly to never claim creative 
ownership of any graphics, code, concepts, eggs, bacon, ideas, 
colors, shapes, hypertext-transfer protocols or other conduits 
of the visual splendor thatis this template. 

The Me, in turn, pledges equally solemnly to be far too 
lazy to ever check up on you, so if you do manage to pull 
some chicks The Me won't have a cow. 
However The Me would be sorely disappointed if The You 
were to try and sell or distribute this work without 
acknowledging The Me. Seriously. The Me will come down on 
The You like a large quantitiy of hard and heavy objects 
that in large quantities may be harmful and possibly even 
lethal to The You; So don't even think about it, The Buster.
*/