摘要: 桥接模式 桥接模式的设计目的施不让下层组件组件的变化,影响上层的调用。 桥接模式的实例 假设我有两个类,但是它们有很多不确定性,可能在后续会变修改,如下: class RedCirlce { drawCircle(redius, x, y) { console.log(`Drawing Circle 阅读全文
posted @ 2021-02-03 23:17 懒惰ing 阅读(85) 评论(0) 推荐(0) 编辑