码迷,mamicode.com
首页 >  
搜索关键字:clean    ( 2793个结果
Clean Code 读书笔记三
clean code 之方法(函数)- 短小 ,再短小,更短小 20行最佳 只做一件事 准确说来每个方法应该是只做抽象概念上的的一件事 只做一件事的方法是无法把逻辑分段的 自顶向下的代码 To say this differently, we want to be able to read the program as though it were a set of TO paragra...
分类:其他好文   时间:2015-06-07 09:33:59    阅读次数:110
Clean code 读书笔记二
细节汇总: 拒绝在容器类型的命名中使用 该容器类型 List flaggedCells = new ArrayList(); As we’ll see later on, even if the container is a List , it’s probably better not to encode the container type into the name. -相同的意思,...
分类:其他好文   时间:2015-06-06 16:43:07    阅读次数:104
clean code 读书笔记一
什么是 clean code ?大神对优雅代码的定义: I like my code to be elegant and efficient. The logic should be straightforward to make it hard for bugs to hide, the dependencies minimal to ease maintenance, error han...
分类:其他好文   时间:2015-06-06 09:12:49    阅读次数:112
一键导出excel
怎样一键导出excel public function input() {        ob_end_clean(); //清除缓冲区,避免乱码        header("Content-Typ:text/html;charset=utf-8");        vendor('Excel.PHPExcel.Writer.IWriter');        vendor('Exce...
分类:其他好文   时间:2015-06-05 12:23:28    阅读次数:166
-Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME environment variable and mvn script match.
maven的clean时报错 -Dmaven.multiModuleProjectDirectory system propery is not set.Check $M2_HOME environment variable and mvn script match.解决办法 1.添加M2_HO.....
分类:其他好文   时间:2015-06-04 19:00:15    阅读次数:128
关于makefile需要掌握的知识
关于makefile需要掌握的知识有: 1.基本規則, 2.makefile文件里的賦值方法,包括廷时变量和立即变量。 3.常用函数,包括字符冲替换函数,分析函数和文件名函数等。 makefile介绍: 最简单的makefile文件如下。 ﹉﹉﹉﹉ hello:hello.c     gcc -o hello hello.c clean:     rm -f hello...
分类:其他好文   时间:2015-06-03 17:47:15    阅读次数:109
Maven实战——生命周期和插件
Maven的构建过程包括:初始化、编译、测试、打包、集成测试、部署 Maven拥有三套相互独立的生命周期:clean(清理项目)、default(构建项目)、site(建立项目站点) 每个生命周期包含一些阶段,这些阶段是有顺序的,并且后面的阶段依赖于前面的阶段,以clean为例: pre-clean:执行一些清理前需要完成的工作 clean:清理上一次构建生成的文件 post-clean:...
分类:其他好文   时间:2015-06-02 17:59:11    阅读次数:152
U盘做完启动盘,如何恢复原始容量
(1)右击“我的电脑”,选择“管理”选项,之后选择“磁盘管理”,查看自己U盘的索引,如:Disk 1(2)在运行窗口,输入cmd,回车,出现Dos运行环境,输入Diskpart,回车,弹出另一个命令窗口,然后将在上面(1)中的索引,输入select disk 1 进去,回车,输入clean,之后即可...
分类:其他好文   时间:2015-06-02 17:42:40    阅读次数:155
maven无法下依赖jar文件的解决方案
问题描述: Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for....
分类:编程语言   时间:2015-06-02 16:59:32    阅读次数:256
SQL查询初学者指南读书笔记(二)创建SQL查询
介绍一种如何创建SQL语句的技术--“Request/Translation/Clean Up/SQL”.我是从来不用,不过读者有兴趣的话可以尝试.这种技术贯穿本书,占了不少篇幅....
分类:数据库   时间:2015-06-02 13:31:15    阅读次数:149
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!