bridge mode

  Bridging is the connection, here specifically refers to the connection between abstraction and concreteness. For example, the computer I use at work is a ThinkPad notebook, which is a concrete thing, while the type and brand of the computer are abstract concepts. Computer types include PCs, notebooks, tablets, etc., and there are more brands, such as Apple, Lenovo, Asus, Dell, ThinkPad, etc. The connection between the concrete and the abstract is the category of the bridge pattern. Let's look at specific examples:

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325054122&siteId=291194637