/*
* OK; before you read the following code know what I am trying to do.
* I needed to get the list of child catagories from the root node so that
* the root node didn't appear in the selection box. But for some stupid
* f.u.c.king reason the stupid f.u.c.king DBA wont let me access the items using
* indices and I instead have to use their stupid f.u.c.king Iterator
* implementation. So there.
*/
$firstList = $this->getRootNode()->getChildren();
foreach ($firstList as $node)
{
$nodes = $node->getChildren();
break; // wtf?
}
见识过日本人的过滤所有小写字母的代码,if(xx != 'a' && xx != 'b'.... != 'z') ,应该把这段注释加上去!
//hack for ie browser (assuming that ie is a browser)
献给所有跟IE较劲的战友们
//
// Dear maintainer:
//
// Once you are done trying to 'optimize' this routine,
// and have realized what a terrible mistake that was,
// please increment the following counter as a warning
// to the next guy:
//
// total_hours_wasted_here = 16
//
本人曾经在一段Shell里注释,“3 hours for this stupid bug"
// Magic. Do not touch.
恩...不少设计糟糕的的项目里,该有这句注释
// I dedicate all this code, all my work, to my wife, Darlene, who will
// have to support me and our three children and the dog once it gets
// released into the public
除了冰冷的代码,我们还可以有些别的。
号召同行们,把注释变成艺术
分享到:
相关推荐
linux kernel 0.11 source code ,外加注释
注释版血气分析六步法——只看这版就行.doc
sourceinsight 多行 批量 注释 反注释 解压里面有readme.txt
Source Insight 3.5 注释快捷键——comment.em
自己写的source insight注释宏,实现类似VC IDE的多行注释及反注释功能。使用方法:打开source insight的Base工程,选择Add and Remove Project Files,将Comments.em文件添加进Base工程,保存即可退出。打开其他...
无忧F10一键还原引导程序的注释文本及引导流程解释 —— 入门篇(原创) 网上搜集的。 引导程序入门。好好研究呀。
idea自动生成类和方法注释(csdn)————程序
NULL 博文链接:https://leelun.iteye.com/blog/1883174
自己写的宏macro CodeCommentsEnter(),CodeCommentsCancel(),macro CodeHeadAdd(),和UE特殊编辑下面的添加注释、取消注释相同,最后一个是函数名的注释模板。 使用方法:直接覆盖BASE工程、安装路径下面的文件...
最近我刚好在琢磨Source Insight 3.5的功能扩展,我扩展了一些简单实用方便的功能,当然还有很多很多扩展的空间,如果你有兴趣,可以在我的基础上继续。为了方便你操作,我总结了一些功能扩展的的简单说明,相信操作...
sourceinsight 便捷插件 符合Doxygen的注释标准
linux 0.11版本,带有很详细的中文注释。
结合网上的资源和自己的项目需求,整理的模版,包括comments/code 方法:Preferences-->Java-->Code Style-->Code Templates 选择Import即可
生成UUID的sourceCode 有注释很详细
在SourceInsight工程添加此文件,再设置快捷键CTL+/;之后就可以快速多行注释,单行注释,解开注释等,非常方便、
PB源代码——学生选课系统实例.有详细的注释——————————————————————
此工具为本人自己写的一个sourceinsight宏代码,可以方便的完成单行或多行代码的C语言风格以及#if 0方式的注释和去注释,附使用说明,需要的可以下载
linux 源代码 的代码注释,对于深入理解该操作系统很有帮助!
彻底解决 source_insight 中文注释显示乱码。本人亲测,source_insight 3.X版本,上4的版本就没必要了。