runxinzhi.com
首页
百度搜索
《重构:改善既有代码的设计》(三) 第8章 重新组织数据
本节的最后一段解释了为什么要使用这种观察者模式:为了是GUI和领域类分离。以后GUI想换任何一个版本都比较容易。
相关阅读:
Effective Java 19 Use interfaces only to define types
Effective Java 18 Prefer interfaces to abstract classes
Effective Java 17 Design and document for inheritance or else prohibit it
Effective Java 16 Favor composition over inheritance
Effective Java 15 Minimize mutability
Effective Java 14 In public classes, use accessor methods, not public fields
Effective Java 13 Minimize the accessibility of classes and members
Effective Java 12 Consider implementing Comparable
sencha touch SortableList 的使用
sencha touch dataview 中添加 button 等复杂布局并添加监听事件
原文地址:https://www.cnblogs.com/maxiaodoubao/p/4674165.html
最新文章
JAVA-初步认识-常用对象API(集合框架-迭代器使用)
JAVA-初步认识-常用对象API(集合框架-方法演示2)
JAVA-初步认识-常用对象API(集合框架-方法演示1)
JAVA-初步认识-常用对象API(集合框架-体系共性功能)
JAVA-初步认识-常用对象API(集合框架-概述)
五分钟打造自己的sql性能分析工具
sqlserver常用调优脚本(转)
记一个由MemCached引发的性能问题
Effective Java 31 Use instance fields instead of ordinals
Effective Java 30 Use Enums instead of int constants
热门文章
Effective Java 29 Consider typesafe heterogeneous containers
Effective Java 28 Use bounded wildcards to increase API flexibility
Effective Java 27 Favor generic methods
Effective Java 26 Favor generic types
Effective Java 25 Prefer lists to arrays
Effective Java 24 Eliminate unchecked warnings
Effective Java 23 Don't use raw types in new code
Effetive Java 22 Favor static member classes over nonstatic
Effective Java 21 Use function objects to represent strategies
Effective Java 20 Prefer class hierarchies to tagged classes
Copyright © 2020-2023
润新知