Jerry制作的软件工程里Design for Change的培训材料
for 制作 培训 Design Change 软件工程 材料 Jerry
2023-09-14 09:02:52 时间
•If repeating data comprises the fields of a class, use Extract Class to move the fields to their own class.
•If the same data clumps are passed in the parameters of methods, use Introduce Parameter Object to set them off as a class.
•If some of the data is passed to other methods, think about passing the entire data object to the method instead of just individual fields. Preserve Whole Object will help with this.
•Look at the code used by these fields. It may be a good idea to move this code to a data class.
![clipboard1](https://user-images.githubusercontent.com/5669954/62914105-4f670480-bdc1-11e9-883b-fa6eaff38a64.png)
![clipboard2](https://user-images.githubusercontent.com/5669954/62914107-4f670480-bdc1-11e9-96df-88b6af22a1bb.png)
![clipboard3](https://user-images.githubusercontent.com/5669954/62914108-4fff9b00-bdc1-11e9-9283-abbf90bdbca1.png)
![clipboard4](https://user-images.githubusercontent.com/5669954/62914110-4fff9b00-bdc1-11e9-8631-e4e81907442b.png)
![clipboard5](https://user-images.githubusercontent.com/5669954/62914111-4fff9b00-bdc1-11e9-8417-f41e9c725785.png)
![clipboard6](https://user-images.githubusercontent.com/5669954/62914112-50983180-bdc1-11e9-9b2a-3e00bf9d20f1.png)
![clipboard7](https://user-images.githubusercontent.com/5669954/62914113-50983180-bdc1-11e9-9aa6-98f37e28c8d7.png)
![clipboard8](https://user-images.githubusercontent.com/5669954/62914114-50983180-bdc1-11e9-9403-cc8764bc5d9c.png)
![clipboard9](https://user-images.githubusercontent.com/5669954/62914115-5130c800-bdc1-11e9-85de-c769bf9db147.png)
![clipboard10](https://user-images.githubusercontent.com/5669954/62914116-5130c800-bdc1-11e9-84b2-fd8c8c2bbc46.png)
![clipboard11](https://user-images.githubusercontent.com/5669954/62914096-4d04aa80-bdc1-11e9-9196-55d03a529a82.png)
![clipboard12](https://user-images.githubusercontent.com/5669954/62914097-4d04aa80-bdc1-11e9-92af-427e0ee13670.png)
![clipboard13](https://user-images.githubusercontent.com/5669954/62914098-4d04aa80-bdc1-11e9-8c00-a3458f1c3e2d.png)
![clipboard14](https://user-images.githubusercontent.com/5669954/62914099-4d9d4100-bdc1-11e9-80d0-cd9289f60085.png)
![clipboard15](https://user-images.githubusercontent.com/5669954/62914100-4d9d4100-bdc1-11e9-8f1c-dae708ec566c.png)
![clipboard16](https://user-images.githubusercontent.com/5669954/62914101-4d9d4100-bdc1-11e9-85de-48343aa27c4f.png)
![clipboard17](https://user-images.githubusercontent.com/5669954/62914102-4e35d780-bdc1-11e9-80bb-7c35dfaf4ead.png)
![clipboard18](https://user-images.githubusercontent.com/5669954/62914103-4e35d780-bdc1-11e9-8145-8f8ba35e1ce1.png)
![clipboard19](https://user-images.githubusercontent.com/5669954/62914104-4ece6e00-bdc1-11e9-81e3-56aff644b8fc.png)
相关文章
- HTTP2 Sampler for JMeter
- ValueError: day is out of range for month
- flask中的url_for
- error CS0117: `UnityEditor.EditorUtility' does not contain a definition for `GetAssetPreview'
- [Vue + TS] Watch for Changes in Vue Using the @Watch Decorator with TypeScript
- [GitHub] GitHub使用教程for Eclipse
- CMU: A Baseline for 3D Multi-Object Tracking
- 【25】报错PluginlibFactory: The plugin for class‘rviz_imu_plugin/Imu’ failed to load. Error: According
- golang管道channel的遍历和关闭:应该使用for...range来遍历
- 如何使用ABAP 7.40新的关键字FOR IN WHERE组合创建ABAP内表的过滤表
- SAP CRM和Cloud for Customer的扩展字段元数据
- 2015-03-18 - Deliberately pass a wrong note type for my task creation
- Angular 服务器端渲染的一个错误消息 - No provider for InjectionToken REQUEST
- Spire.Office 8.2.2 for NET 开年之喜
- TeeChart for .NET 2023.4.13 Crack
- 已解决UserWarning: A NumPy version >=1.16.5 and <1.23.0 is required for this version of SciPy (detected
- SharpFileDB - a file database for small apps
- 合并多行查询数据到一行:使用自连接、FOR XML PATH('')、STUFF或REPLACE函数
- 【文献学习】Analysis of Deep Complex-Valued Convolutional Neural Networks for MRI Reconstruction
- HLS开发学习-11- for 循环优化(一)