转自文档: https://www.runoob.com/design-pattern/design-pattern-tutorial.html 在策略模式(Strategy Pattern)中,一个类的行为或其算法可以在运行时更改。这种类型的设计模式属于行为型模式。 在策略模式中,我们创建表示各种 ...
分类:
其他好文 时间:
2020-04-14 18:33:45
阅读次数:
66
Motivation 动机 All the time we design a program module and we create some class hierarchies. Then we extend some classes creating some derived classes. ...
分类:
其他好文 时间:
2020-04-12 22:22:25
阅读次数:
85
Motivation 动机 In this context, a responsibility is considered to be one reason to change. This principle states that if we have 2 reasons to change fo ...
分类:
其他好文 时间:
2020-04-12 22:18:34
阅读次数:
93
先来看下综合前两篇内容加上本次视图的成果 可能不是很美观,因为并没有加css样式,我想等整个项目有个差不多的功能实现后再进行页面优化,请谅解 下面我贴上自己定义修改过的Taco的design视图代码 1 <!DOCTYPE html> 2 <html xmlns="http://www.w3.org ...
分类:
编程语言 时间:
2020-04-12 20:49:56
阅读次数:
158
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) Push element x onto stack. pop() Removes the ...
分类:
其他好文 时间:
2020-04-11 10:05:56
阅读次数:
82
什么是Refined ArchitectureRefined Architecture相对于Conceptual Architecture而言,分别对应于“概念级”解决方案和“规约级”解决方案。Refined Architecture(细化架构)属于架构设计,不能与Detailed Design(详 ...
分类:
其他好文 时间:
2020-04-10 12:18:15
阅读次数:
64
一线架构师实践指南第三部分Refined Architecture阶段读后感 Refined Architecture阶段最开始以细化架构入手阐述了如果一个项目的系统架构(包括理论基础)尚未确定,就不应该进行此系统的全面开发的道理从而表达细化架构的重要性。也说明了为什么他被广泛采用,从概念架构到细化 ...
分类:
其他好文 时间:
2020-04-10 12:09:18
阅读次数:
65
看看博主最近做的一个房地产项目的数据可视化仪表板:http://192.168.0.5:37799/webroot/decision/v5/design/report/share/cf8221cf8ad64212bc8a0eaaa716d131?link=eyJhbGciOiJIUzI1NiJ9.eyJyZXBvcnRJZCI6ImNmODIyMWNmOGFkNjQyMTJiYzhhMGVhYWE
分类:
其他好文 时间:
2020-04-10 11:59:18
阅读次数:
96
? Table of Contents 1. greek letter in MS word 1 greek letter in MS word insert/symbol alt codes check the Character code F alt+70 ζ U+03B6 https://ww ...
分类:
其他好文 时间:
2020-04-09 11:05:07
阅读次数:
67
> 今天早上参加了深圳 OPPO 开发工程师的技术面试,总的来说面试过程不是很顺利。面试官并没有问一些很深奥的底层原理,基本都是一些 Java 基础以及 Android 四大组件内的基础,但是我自身在开发过程中并没有很重视这些理论基础,导致很多知识点都忘记了。整个面试过程耗时一小时,感谢两位面试官不厌其烦地给我提示,一方面让我能够回想起来那些遗忘的知识点,另一方面也缓解了尴尬的气氛。。。
分类:
移动开发 时间:
2020-04-07 00:05:45
阅读次数:
112