码迷,mamicode.com
首页 >  
搜索关键字:should be repaired    ( 4956个结果
面向对象五大原则_基石_开闭原则
1988年,勃兰特·梅耶(Bertrand Meyer)在他的著作《面向对象软件构造(Object Oriented Software Construction)》中提出了开闭原则,它的原文是这样:“Software entities should be open for extension,but ...
分类:其他好文   时间:2016-04-15 13:49:08    阅读次数:241
Leetcode 116 Populating Next Right Pointers in Each Node
Given a binary tree Populate each next pointer to point to its next right node. If there is no next right node, the next pointer should be set to NULL ...
分类:其他好文   时间:2016-04-14 15:49:00    阅读次数:93
Nodejs数据流(Stream)手册
在书上看到的补充阅读,为了以后方便以后复习干脆翻译了下来。翻译自Node数据流手册1、介绍本文介绍了使用 node.js streams 开发程序的基本方法。"We should have some ways of connecting programs like garden hose--screw in another segment when it becomes necessary to m...
分类:Web程序   时间:2016-04-14 14:23:51    阅读次数:217
136. Single Number
Given an array of integers, every element appears twice except for one. Find that single one. Note:Your algorithm should have a linear runtime complex ...
分类:其他好文   时间:2016-04-14 14:13:02    阅读次数:104
217. Contains Duplicate
Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the arr ...
分类:其他好文   时间:2016-04-13 12:41:49    阅读次数:164
万事万物皆归于简单
Remember that most things are really simple, if you catch yourself overcomplicating something that should be simple then you are most likely doing it ...
分类:其他好文   时间:2016-04-12 22:09:32    阅读次数:179
面向对象设计框架
低层次架构:类之间的关系 组合 ,继承,依赖,聚集。高层次架构:设计模式 复杂的设计模式是有简单的设计模式演化而来,解决了更复杂场景下简单设计模式解决不了的问题。设计原则:(通过设计模式实现设计原则) 单一职责原则(SRP),从职责来理解单一的概念是模糊的,因为一件事情的职责总能无限细分,所以需要找到职责的单一标准是什么?从SPR的原话来理解:There should never be mor...
分类:其他好文   时间:2016-04-12 17:38:24    阅读次数:155
英文论文写作之讨论与结论Discussion and Conclusion
Discussion and Conclusion After viewing these maps, what should immediately appear is the level of racial segregation into high and low levels of educ ...
分类:其他好文   时间:2016-04-11 14:13:10    阅读次数:1318
ecshop安装过程中的问题:cls_image::gd_version();不支持JPEG;Deprecated: preg_replace();Strict Standards;
在安装Ecshop的时候,遇到好多好多问题: 1.Strict Standards: Non-static method cls_image::gd_version() should not be called statically in D:\X\www\ecshop\install\includ ...
分类:其他好文   时间:2016-04-11 11:41:47    阅读次数:189
[LeetCode] Tenth Line 第十行
How would you print just the 10th line of a file? For example, assume that file.txt has the following content: Your script should output the tenth lin ...
分类:其他好文   时间:2016-04-11 07:22:17    阅读次数:148
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!